Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:stm32f4 [2022/10/31 15:04] – darron | boards:stm32f4 [2022/11/23 16:13] (current) – [Clocks] darron | ||
---|---|---|---|
Line 12: | Line 12: | ||
=== Pinout === | === Pinout === | ||
< | < | ||
- | JP2 GND GND JP3 | + | JP2 GND |
| | ||
- | | + | CN2 SWD |
1 VDD_TARGET | 1 VDD_TARGET | ||
2 SWCLK CN3 ST-LINK | 2 SWCLK CN3 ST-LINK | ||
Line 45: | Line 45: | ||
PD9 41 42 PD10 | PD9 41 42 PD10 | ||
PD11 43 44 PD12 | PD11 43 44 PD12 | ||
- | PD13 45 46 PD14 | + | PD13 45 46 PD14 |
PD15 47 48 NC | PD15 47 48 NC | ||
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 | ||
+ | ICC1 | ||
+ | |||
+ | SPI1 | ||
+ | SPI1 MISO PA6 | ||
+ | SPI1 MOSI PA7 | ||
</ | </ | ||
- | CN3 is used to configure either internal or external programming. | + | CN3 is used to configure either internal or external programming: |
+ | < | ||
+ | BOTH jumpers on: ST-LINK on board enabled, CN2 SWD disabled. | ||
+ | BOTH jumpers off: ST-LINK on board disabled, CN2 SWD enabled. | ||
+ | </ | ||
+ | |||
+ | 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=== | ||
+ | |||
+ | < | ||
+ | MC0 8000000 | ||
+ | HSE 8000000 | ||
+ | HSI 16000000 | ||
+ | LSE 0 X3 NOT FITTED | ||
+ | LSI 32768 | ||
+ | </ | ||
+ | |||
+ | ===Virtual COM port=== | ||
+ | |||
+ | <wrap right> | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | 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 83: | Line 124: | ||
[[http:// | [[http:// | ||
- | [[https:// | + | [[https:// |
+ | |||
+ | [[https:// | ||
- | [[https:// | + | [[https:// |