Skip to main content
Job Shen
Associate III
November 30, 2017
Solved

UART access on SPC570S-DISP board

  • November 30, 2017
  • 1 reply
  • 2193 views
Posted on November 30, 2017 at 02:49

Hi,

I need to use UART to send data from the SPC570S-DISP to a different board, looking at the UM2025 User Manual for the SPC570S-DISP: Discovery + Evaluation Board, section 2.9 LINFlex and UART, it says the LINFlex supports LIN Master mode, LIN slave mode and UART mode, but not much detail information there.

So, what are the PINs i can use for the UART? I expect to find 3 PINs for TX/RX/GND, but for TX alone, there are TX, TXD, K TXD, LIN_TXD. Also is there any jumper to configure for the UART mode?

Besides the UM2025, is there any other document that offer more detailed information about the SPC570S-DISP board? Sorry for being new to the board and lack some of the basic knowledge.

Best Regards,

Job

#uart #spc570s-disp
This topic has been closed for replies.
Best answer by Erwan YVIN
Posted on December 01, 2017 at 09:59

Hello Job ,

The Pinmap Editor is for everybody.

it depends on the family used

please click on this following button

0690X00000608whQAA.png

Cf help Section , the BUFFERS_SIZE is set in the components.

all the cfg directory is generated from your configuration component.

0690X000006094BQAQ.png

   Best regards

                 Erwan

1 reply

Erwan YVIN
ST Employee
November 30, 2017
Posted on November 30, 2017 at 09:54

Hello Job ,

There is some example in the Application Wizard

Please check the Pinmap Wizard and the Pin configuration.

About Jumper, you can use :

http://www.st.com/content/ccc/resource/technical/document/user_manual/group0/bb/23/ad/6c/51/e4/42/23/DM00269139/files/DM00269139.pdf/jcr:content/translations/en.DM00269139.pdf

 

if you want to communicate with UART via FTDI .. you can enable VCP in Windows Drivers.

0690X00000608ynQAA.png

              Best regards

                          Erwan

Job Shen
Job ShenAuthor
Associate III
November 30, 2017
Posted on November 30, 2017 at 20:07

 ,

 ,

Hi Erwan,

Thanks for providing the information. I will look into the Pinmap wizrd and the pin configuration.

The link you provided is the DM2025 User Manual, i already looked it several times and studied it with my coworker for section 2.9 LINFlex and UART, it only has 2 pictures and no description, Figure 21 has 2 identical pictures for JP1, could not figure out what was the intension. ,

I have found the bau rate is 38400 definded in the lldconf.h, and i am able to get the data by connecting the TX from JP4 to Raspberry Pi 3 GPIO15 (PIN ♯ 10).

By the way, the SERIAL_BUFFERS_SIZE is set to 16U, i wish to increase it, but the value was restored back to 16U after i compile it, so where is the place to change the configuration?

Best Regards,

Job