RFQ/BOM 0 로그인 / 등록하다

귀하의 위치를 선택하세요

사용자 이미지

Does L496 only have serial communication via USART2?

Hardware design
11월 26, 2020 by Justin 663

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

답변 작성

답글을 달려면 로그인이 필요합니다. 로그인 | 등록하다