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
  • Is it perhaps discussing a different board? Like a DISCO board rather than a NUCLEO?

    You should read the manual for your specific board, and your specific FTDI converter.

    If you still have further doubt, get the board to output a constant stream of characters, like 'U', and confirm you can see a signal on a oscilloscope, and that the bit timing is correct for the baud rate chosen. Do the same thing on a PC with the FTDI board, and confirm both ends work as expected.

    Do USART's work on STM32 parts? Yes. Have I tested your part/board? No, and don't plan to go through all the documentation to ascertain what you may or may not be doing wrong.

    Also there are like three NUCLEO board families now for 32, 64 and 144 pin devices, make sure you look at the right manuals, and examples, and if you might need to port/tweak examples to get them to work. Assume some examples may have been auto-generated, and that ST hasn't done regression testing on thousands of board/chip permutations.

Reply
  • Is it perhaps discussing a different board? Like a DISCO board rather than a NUCLEO?

    You should read the manual for your specific board, and your specific FTDI converter.

    If you still have further doubt, get the board to output a constant stream of characters, like 'U', and confirm you can see a signal on a oscilloscope, and that the bit timing is correct for the baud rate chosen. Do the same thing on a PC with the FTDI board, and confirm both ends work as expected.

    Do USART's work on STM32 parts? Yes. Have I tested your part/board? No, and don't plan to go through all the documentation to ascertain what you may or may not be doing wrong.

    Also there are like three NUCLEO board families now for 32, 64 and 144 pin devices, make sure you look at the right manuals, and examples, and if you might need to port/tweak examples to get them to work. Assume some examples may have been auto-generated, and that ST hasn't done regression testing on thousands of board/chip permutations.

Children