This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using UART between pc and NUCLEOL0R8

hi,

I tried to use UART_TwoBoards_ComPolling example in stm32Cube. I know that this example is for communicating between two controller but i connected one controller's Tx and Rx pins to the ftdi chip that connected to pc with usb to observe what controller is sending. However,when i press the user botton on the board, pc seems like doesnt receive anything, tx and rx leds on ftdi also dont light up.

thanks

Parents Reply Children
  • on issues like this ALWAYS, yes ALWAYS read the documentation, well, you should always do it, but here there is no 'standard'. there ARE instances where Rx connect to Rx (disagree with that labeling) I have seen it.

  • yes sir, in that example there is read_me.txt file that shows connections rx to tx,tx to rx. I think the problem is on board ,it doesnt send data through tx.Did you try that example code before,it worked ?

  • _________________________ _________________________ | ______________| |______________ | | |USART | | USART| | | | | | | | | | TX |_____________________| RX | | | | | | | | | | | | | | | | | | | | | | RX |_____________________| TX | | | | | | | | | |______________| |______________| | | | | | | GND|_____________________|GND | |_STM32_Board 1___________| |_STM32_Board 2___________|

    i used ftdi chip instead of second board and i tested ftdi chip before it was working correctly.