Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 2 months ago.
pinmap mis-match in HelloESP8266Interface example on Nucleo F401re
Hello guys,
I`m trying to test the WiFi module ESP8266 on my Nucleo F401re board using mbed OS.05 I imported this code https://developer.mbed.org/teams/components/code/HelloESP8266Interface/ after making changes on the TX, RX pins to my UART pins in my board "ESP8266Interface wifi(PB_6, PC_7);" I compiled it without any errors. using minicom as serial console I just got "pinmap mis-match" as a result! anyone has an idea why I got this?
1 Answer
8 years, 2 months ago.
Hello,
The pins you selected are not connected to the same USART, so they cannot work together.
You must modify your pin assignment to use one of the 4 combinations for USART1 or one of the 4 combinations for USART6.
- for USART6:
TX : PC_6 or PA_11
RX : PC_7 or PA_12
- for USART1:
TX: PB_6 or PA_9
RX: PB_7 or PA_10
- the virtual com port uses UART2 and is connected to the STLink on the nucleo board (your minicom debug console)
TX: PA_2
RX: PA_3