arm:stm32f3discovery
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arm:stm32f3discovery [2021/08/22 08:38] – [STM32F3discovery] utedass | arm:stm32f3discovery [2022/09/12 00:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== STM32F3discovery ====== | ====== STM32F3discovery ====== | ||
| - | MCU: STM32F303 | + | MCU: [[https:// |
| - | [[https://www.st.com/en/microcontrollers-microprocessors/stm32f303vc.html# | + | ARM core: [[https://developer.arm.com/ip-products/ |
| - | [[https:// | + | ARM architecture: |
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| [[https:// | [[https:// | ||
| Line 17: | Line 23: | ||
| No external crystals are mounted. | No external crystals are mounted. | ||
| - | Modellen som sitter på utvecklingskortet heter '' | + | The exact model of the mcu on the development board is '' |
| - | + | ||
| - | Vi har revision | + | |
| + | The development board is of revision E. | ||
| + | The voltage for all I/O ports are 3.3 V | ||
| ====== Pinout ====== | ====== Pinout ====== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | All pins are 3.3 V. | ||
| ^ Function ^ Port/pin ^ Pin ^ Comment ^ | ^ Function ^ Port/pin ^ Pin ^ Comment ^ | ||
| - | | Led N | PE9 | | + | | LD4 | PE8 | 39 | Led NW Blue | |
| - | | Led NE | PE10 | | LD5 Orange | | + | | LD3 | PE9 | 40 | Led N |
| - | | Led E | PE11 | | LD7 Green | | + | | LD5 |
| - | | Led SE | PE12 | | LD9 Blue | | + | | LD7 | PE11 | 42 | Led E |
| - | | Led S | + | | LD9 |
| - | | Led SW | PE14 | | LD8 Orange | | + | | LD10 | PE13 | 44 | Led S Red | |
| - | | Led W | PE15 | | LD6 Green | | + | | LD8 |
| - | | Led NW | PE8 | | LD4 Blue | | + | | LD6 | PE15 | 46 | Led W Green | |
| ^ Function ^ Port/pin ^ Pin ^ Comment ^ | ^ Function ^ Port/pin ^ Pin ^ Comment ^ | ||
| - | | User button | + | | User button |
| + | |||
| + | ^ Function ^ Port/pin ^ Pin ^ Comment ^ | ||
| + | | Clock in | PF0 | | 8 MHz from on-board programmer | | ||
| + | |||
| + | ^ Function ^ Port/pin ^ Pin ^ Comment ^ | ||
| + | | Virtual comport TX | PC4 | 33 | VCP, MCU -> computer | | ||
| + | | Virtual comport RX | PC5 | 34 | VCP, MCU <- computer | | ||
| + | |||
| + | ===== Pinout on protoboard ===== | ||
| + | |||
| + | ^ Function ^ Port/pin ^ Pin ^ Comment ^ | ||
| + | | CAN RX | PB8 | 95 | To CAN Tranceiver | | ||
| + | | CAN TX | PB9 | 96 | To CAN Tranceiver | | ||
| + | ====== Debugging with SWO ====== | ||
| + | It is possible to send debug messages through the ARM debuggers trace functionality ITM. | ||
| + | |||
| + | * Short solderbridge SB10 on the development board | ||
| + | * Put code in the firmware that sends messages | ||
| + | * Start debugging, but pause | ||
| + | * Enable ITM window and (at least channel 0) | ||
| + | * *Press start trace* | ||
| + | * Then continue debugging as usual. | ||
| + | |||
| + | [[https:// | ||
| + | [[https:// | ||
arm/stm32f3discovery.1629621486.txt.gz · Last modified: 2022/09/12 00:30 (external edit)
