|
| 1 | +.. zephyr:board:: blackpill_h523ce |
| 2 | +
|
| 3 | +Overview |
| 4 | +******** |
| 5 | +The WeAct STM32H523CE Core Board is a low cost and bare-bone development |
| 6 | +board made in famous "blackpill" package. It features STM32H523CE, high |
| 7 | +performance microcontroller based on a Arm Cortex M33 processor. |
| 8 | + |
| 9 | +Hardware |
| 10 | +******** |
| 11 | + |
| 12 | +The STM32H523CE based Black Pill board provides the following harware |
| 13 | +components: |
| 14 | + |
| 15 | +- STM32H523CE in 48 pin package |
| 16 | +- ARM 32-bit Cortex -M33 CPU with FPU |
| 17 | +- 250 MHz max CPU frequency |
| 18 | +- VDD from 1.7 V to 3.6 V |
| 19 | +- 512 kB Flash |
| 20 | +- 274 kB SRAM |
| 21 | +- TIM |
| 22 | +- ADC |
| 23 | +- USART |
| 24 | +- I2C |
| 25 | +- SPI |
| 26 | +- USBFS |
| 27 | +- FDCAN |
| 28 | +- RTC |
| 29 | + |
| 30 | +Supported Features |
| 31 | +================== |
| 32 | + |
| 33 | +.. zephyr:board-supported-hw:: |
| 34 | +
|
| 35 | +Connections and IOs |
| 36 | +=================== |
| 37 | + |
| 38 | +Default Zephyr Peripheral Mapping: |
| 39 | +---------------------------------- |
| 40 | + |
| 41 | +- UART_1 TX/RX : PA9/PA10 |
| 42 | +- I2C1 SCL/SDA : PB6/PB7 |
| 43 | +- SPI1 CS/SCK/MISO/MOSI : PA4/PA5/PA6/PA7 (Routed to footprint for external flash) |
| 44 | +- PWM_3_CH3 : PB0 |
| 45 | +- PWM_3_CH4 : PB1 |
| 46 | +- ADC_1 : PA1 |
| 47 | +- USER_PB : PA0 |
| 48 | +- USER_LED : PC13 |
| 49 | + |
| 50 | +Programming and Debugging |
| 51 | +************************* |
| 52 | + |
| 53 | +.. zephyr:board-supported-runners:: |
| 54 | +
|
| 55 | +There are 2 main entry points for flashing STM32H5X SoCs, one using the ROM |
| 56 | +bootloader, and another by using the SWD debug port (which requires additional |
| 57 | +hardware). Flashing using the ROM bootloader requires a special activation |
| 58 | +pattern, which can be triggered by using the BOOT0 pin. |
| 59 | + |
| 60 | +Flashing |
| 61 | +======== |
| 62 | + |
| 63 | +Installing dfu-util |
| 64 | +------------------- |
| 65 | + |
| 66 | +It is recommended to use at least v0.8 of `dfu-util`_. The package available in |
| 67 | +debian/ubuntu can be quite old, so you might have to build dfu-util from source. |
| 68 | + |
| 69 | +There is also a Windows version which works, but you may have to install the |
| 70 | +right USB drivers with a tool like `Zadig`_. |
| 71 | + |
| 72 | +Flashing an Application |
| 73 | +----------------------- |
| 74 | + |
| 75 | +Connect a USB-C cable and the board should power ON. Force the board into DFU mode |
| 76 | +by keeping the BOOT0 switch pressed while pressing and releasing the NRST switch. |
| 77 | + |
| 78 | +The dfu-util runner is supported on this board and so a sample can be built and |
| 79 | +tested easily. |
| 80 | + |
| 81 | +.. zephyr-app-commands:: |
| 82 | + :zephyr-app: samples/basic/blinky |
| 83 | + :board: blackpill_f523ce |
| 84 | + :goals: build flash |
| 85 | + |
| 86 | + |
| 87 | +Debugging |
| 88 | +========= |
| 89 | + |
| 90 | +The board can be debugged by installing the included 100 mil (0.1 inch) header, |
| 91 | +and attaching an SWD debugger to the 3V3 (3.3V), GND, SCK, and DIO |
| 92 | +pins on that header. |
| 93 | + |
| 94 | +References |
| 95 | +********** |
| 96 | + |
| 97 | +.. target-notes:: |
| 98 | + |
| 99 | +.. _WeAct Github: |
| 100 | +https://github.com/WeActStudio/WeActStudio.STM32H523CoreBoard/tree/master |
| 101 | + |
| 102 | +.. _STM32F523CE website: |
| 103 | +https://www.st.com/en/microcontrollers-microprocessors/stm32h523ce.html |
| 104 | + |
| 105 | +.. _STM32F523CE reference manual: |
| 106 | +https://www.st.com/en/microcontrollers-microprocessors/stm32h523ce.html# |
0 commit comments