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
boards:stm32f4 [2022/10/31 14:45] – [Resources] darronboards:stm32f4 [2022/11/23 16:13] (current) – [Clocks] darron
Line 8: Line 8:
 This board has an integrated [[:tools:stlink|STLink]] compatible interface which can be configured to allow the programming of either the board itself or to program an external device. This board has an integrated [[:tools:stlink|STLink]] compatible interface which can be configured to allow the programming of either the board itself or to program an external device.
  
-As with all STM evaluation boards there is lengthy list of restrictions in place regarding what you can and can't do with an evaluation board. See [[http://www.st.com/st-web-ui/static/active/en/resource/legal/legal_agreement/license_agreement/EvaluationProductLicenseAgreement.pdf|this]] document.+As with all STM evaluation boards there is lengthy list of restrictions in place regarding what you can and can't do with an evaluation board. See [[https://www.st.com/resource/en/evaluation_board_terms_of_use/evaluationproductlicenseagreement.pdf|this]] document.
  
 === Pinout === === Pinout ===
 <code> <code>
- SWD               STLINKv2 USB+ JP2 GND          STLINKv2 USB              GND JP3 
 +     GND                                    GND 
 +      
 + CN2 SWD
   1 VDD_TARGET   1 VDD_TARGET
-  2 SWCLK                          CN3+  2 SWCLK                          CN3 ST-LINK
   3 GND                             x   3 GND                             x
   4 SWDIO                           x   4 SWDIO                           x
Line 42: Line 45:
 PD9  41 42 PD10                     PA10  41 42 PA13 PD9  41 42 PD10                     PA10  41 42 PA13
 PD11 43 44 PD12                     PA8   43 44 PA9 PD11 43 44 PD12                     PA8   43 44 PA9
-PD13 45 46 PD14                     PC8   45 46 PA9+PD13 45 46 PD14                     PC8   45 46 PC9
 PD15 47 48 NC                       PC6   47 48 PC7 PD15 47 48 NC                       PC6   47 48 PC7
 GND  49 50 GND AUDIO OUT USB OTG    GND   49 50 GND GND  49 50 GND AUDIO OUT USB OTG    GND   49 50 GND
 +
 +USART2 TX   PA2
 +USART2 RX   PA3
 +
 +I2C1   SCL  PB6 PB8
 +ICC1   SDA  PB7 PB9
 +
 +SPI1   CLK  PA5
 +SPI1   MISO PA6
 +SPI1   MOSI PA7
 </code> </code>
  
-CN3 is used to configure either internal or external programming.+CN3 is used to configure either internal or external programming
 +<code> 
 +BOTH jumpers on: ST-LINK on board enabled, CN2 SWD disabled. 
 +BOTH jumpers off: ST-LINK on board disabled, CN2 SWD enabled. 
 +</code> 
 + 
 +There are different revisions of this board and the sample here  
 +is the MB997C. One difference between this and the original board 
 +revision MB997B is that they changed the MEMS sensor from the 
 +LIS302DL to the LIS3DSH. The LIS3DSH is now obsolete and has been 
 +replaced by the LIS3DH. 
 + 
 +===Clocks=== 
 + 
 +<code> 
 +MC0 8000000  X1 8MHz ST-LINK/V1 
 +HSE 8000000  X2 8MHz 
 +HSI 16000000 
 +LSE 0        X3 NOT FITTED 
 +LSI 32768 
 +</code> 
 + 
 +===Virtual COM port=== 
 + 
 +<wrap right> 
 +{{:boards:stm32f4_vcp.jpg?200}} 
 +</wrap> 
 + 
 +VCP on the board is supported, however, the pins were left unconnected and 
 +ST propose you use jumper leads to fix this oversight. 
 + 
 === LED demo === === LED demo ===
  
Line 75: Line 119:
  
 === Resources === === Resources ===
 +
 +[[https://www.st.com/en/evaluation-tools/stm32f4discovery.html|Product page]]
 +
 [[http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdf|User manual]] [[http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdf|User manual]]
  
-[[https://www.st.com/resource/en/datasheet/stm32f407vg.pdf|Datasheet]]+[[https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-46/2671.STMicroelectronics.Schematics.zip|Schematic]] 
 + 
 +[[https://www.st.com/resource/en/datasheet/stm32f407vg.pdf|MCU datasheet]]
  
-[[https://www.st.com/resource/en/reference_manual/rm0090-stm32f405415-stm32f407417-stm32f427437-and-stm32f429439-advanced-armbased-32bit-mcus-stmicroelectronics.pdf|Reference manual]]+[[https://www.st.com/resource/en/reference_manual/rm0090-stm32f405415-stm32f407417-stm32f427437-and-stm32f429439-advanced-armbased-32bit-mcus-stmicroelectronics.pdf|MCU reference manual]]