STM32F4 Discovery Usage
The Discovery has 3.3V IO pins: configure the Debug Buddy for 3.3V RS232 mode by removing both sets of jumper wires.
By default the USART pins are mapped as follows, however it is also possible to remap them to other alternate function pins, to access USART1, etc... refer to the spreadsheet and datasheet links below.
| USART1 | USART2 | USART3 | USART4 | ||||
|---|---|---|---|---|---|---|---|
| RX | TX | RX | TX | RX | TX | RX | TX |
| n/a | n/a | P1.13 | P1.14 | P1.41 | P1.40 | p1.11 | |
After identifying the pin numbers of the RX and TX lines for the USART you are using, connect your Discovery to the Debug Buddy using three wires:
- Connect J7's RX pin to the Discovery's TX pin
- Connect J7's TX pin to the Discovery's RX pin
- Connect the Debug Buddy's GND (any pin on J2) to any GND pin on the Discovery
It is also possible to use the RTS and CTS lines (for hardware handshaking) if desired. Connect J7's CTS line to the Discovery's RTS line and J7's RTS to the Discovery's CTS