RFQ/BOM 0 登入 / 注册

选择您的位置

用户形象

Does L496 only have serial communication via USART2?

Hardware design
十一月 26, 2020 by Justin 665

Learning USART serial communication. There is st-link on the STM32L496-disco board that can be connected to USART2, but there are no other interfaces that can be connected to USART on the schematic diagram. As shown. Does it mean that L496 can only communicate with serial port via USART2? The reference manual says that there are USART1, USART3, UART4 and UART5. Not too clear.

所有评论

user image

Hunter 发表于 November 26, 2020

The figure is only the schematic diagram of the STLINK part. The landlord should consult the L496 chip manual to find the USART related pins. For example, the development board schematic diagram has the related pins of F496:

0
user image

Adam 发表于 November 26, 2020

Other serial ports can definitely be used, but the serial port on the development board is used for other functions, or it is derived from the IO port, and you can use it when you find the corresponding port configuration in the program.

0
user image

Evan 发表于 November 26, 2020

Check the datasheet, find the corresponding pins, and then pay attention to the multiplexing function when writing the program. If you have a USB to TTL like CH340, you can connect these two pins. Pay attention to the lead of the two devices. The pins should be cross-connected (TX connects to RX, RX connects to TX)

0
user image

Kevin 发表于 November 26, 2020

You can use the schematic diagram of your board. If the corresponding pin is brought out, see if there is a voltage conversion chip. If there is, you can use it directly. If not, you need to make a level conversion chip and you can use it.

0

写一个答案

您需要登录才能回复。 登入 | 注册