Myvideo

Guest

Login

STM32 Board Bring-Up (Firmware and Test) - Phil's Lab #54

Uploaded By: Myvideo
3 views
0
0 votes
0

Basic board firmware bring-up of the 'new' LittleBrain PCB featuring an STM32F4 microcontroller, sensors, and USB. How to write simple test firmware (I2C, USB), set-up STM32CubeIDE, and transfer data from a schematic to software. [SUPPORT] Free trial of Altium Designer: PCBA from $0 (Free Setup, Free Stencil): Tag-Connect: Hardware design courses: Patreon: [LINKS] GitHub: [USB CDC CODE] After include statements: static uint8_t lineCoding[7] // 115200bps, 1stop, no parity, 8bit = { 0x00, 0xC2, 0x01, 0x00, 0x00, 0x00, 0x08 }; in CDC_Control_FS: case CDC_SET_LINE_CODING: memcpy(lineCoding, pbuf, sizeof(lineCoding)); break; case CDC_GET_LINE_CODING: memcpy(pbuf, lineCoding, sizeof(lineCoding)); break; [TIMESTAMPS] 00:00 Introduction 00:35 First Steps 01:40 Tag-Connect SWD Programming Header/Connector 02:24 JLCPCB and GitHub Repo 03:00 Altium Designer Free Trial 03:16 Hardware Overview 04:59 STM32CubeIDE Basics 05:59 Pinout 08:14 Clock Configuration 09:15 Programming and GPIO (LED) Test 12:08 I2C #1 (Inertial Measurement Unit) 16:58 I2C #2 (Pressure Sensor) 19:11 USB (Virtual COM Port) 23:14 Outro ID: QIBvbJtYjWuHiTG0uCoK

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later