User Tools

Site Tools


arm:stm32f3discovery

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arm:stm32f3discovery [2021/08/22 10:00] – [STM32F3discovery] utedassarm:stm32f3discovery [2022/09/12 00:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== STM32F3discovery ====== ====== STM32F3discovery ======
-MCU: STM32F303+MCU: [[https://www.st.com/en/microcontrollers-microprocessors/stm32f303vc.html|STM32F303VCT6]]
  
 ARM core: [[https://developer.arm.com/ip-products/processors/cortex-m/cortex-m4|ARM Cortex-m4]] ARM core: [[https://developer.arm.com/ip-products/processors/cortex-m/cortex-m4|ARM Cortex-m4]]
  
 ARM architecture: [[https://developer.arm.com/documentation/ddi0403/ee|Armv7E-M]] ARM architecture: [[https://developer.arm.com/documentation/ddi0403/ee|Armv7E-M]]
 +
 +[[https://www.st.com/en/development-tools/stm32cubeide.html|STM32CubeIDE]]
  
 [[https://www.st.com/en/microcontrollers-microprocessors/stm32f303vc.html#tools-software|STM32F303VC]] -- Drivers and stuff for the MCU. [[https://www.st.com/en/microcontrollers-microprocessors/stm32f303vc.html#tools-software|STM32F303VC]] -- Drivers and stuff for the MCU.
Line 25: Line 27:
 The development board is of revision E. The development board is of revision E.
  
 +The voltage for all I/O ports are 3.3 V
 ====== Pinout ====== ====== Pinout ======
 +
 +[[https://www.st.com/content/ccc/resource/technical/document/user_manual/8a/56/97/63/8d/56/41/73/DM00063382.pdf/files/DM00063382.pdf/jcr:content/translations/en.DM00063382.pdf|UM1570]] -- User manual for the discovery board includes details regarding solder bridges and interconnections between the onboard programmer and the target MCU.
 +
 +All pins are 3.3 V.
  
 ^ Function ^ Port/pin ^ Pin ^ Comment ^ ^ Function ^ Port/pin ^ Pin ^ Comment ^
-| Led  | PE9  LD3 Red | +| LD4  | PE8  | 39 | Led NW Blue | 
-Led NE | PE10 |  LD5 Orange | +| LD3  | PE9  | 40 | Led N  Red | 
-Led E  | PE11 |  LD7 Green | +LD5  | PE10 | 41 Led NE Orange | 
-Led SE | PE12 |  LD9 Blue | +LD7  | PE11 | 42 Led E  Green | 
-Led S  | PE13 |  | LD10 Red | +LD9  | PE12 | 43 Led SE Blue | 
-Led SW | PE14 |  LD8 Orange | +LD10 | PE13 | 44 | Led S  Red | 
-Led W  | PE15 |  | LD6 Green | +LD8  | PE14 | 45 Led SW Orange | 
-| Led NW | PE8 |  | LD4 Blue |+LD6  | PE15 | 46 | Led  Green |
  
 ^ Function ^ Port/pin ^ Pin ^ Comment ^ ^ Function ^ Port/pin ^ Pin ^ Comment ^
-| User button  | PA0 |  |  |+| User button  | PA0 | 23 |  
 + 
 +^ 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://percepio.com/2016/06/09/arm-itm/]] 
  
 +[[https://www.st.com/resource/en/application_note/dm00354244-stm32-microcontroller-debug-toolbox-stmicroelectronics.pdf|STM32 Debugging toolbox manual]]
arm/stm32f3discovery.1629626447.txt.gz · Last modified: 2022/09/12 00:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki