cancel
Showing results for 
Search instead for 
Did you mean: 

UART access on SPC570S-DISP board

Job Shen
Associate III
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
1 ACCEPTED SOLUTION

Accepted Solutions
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

View solution in original post

7 REPLIES 7
Erwan YVIN
ST Employee
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

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

Posted on November 30, 2017 at 22:03

Hi Erwan,

There is no Pinmap Wizard, release notes 5.6 seems suggest pinmap wizard is for selected customer. Does it mean the SPC570S-DISP doesn't have it?  Or where can i find it?

see screen shot.

Best Regards,

Job

0690X000006092ZQAQ.png
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

Posted on December 01, 2017 at 19:57

Hi Erwan,

Thanks for the info.

Sorry i didn't make my question clear, you mentioned '

Please check the Pinmap Wizard and the Pin configuration.', and i thought Pinmap Wizard and Pinmap Editor are two different things. I do see Pinmap Editor, but Pinmap Wizard is nowhere to find.

I am able to find the Serial Driver Settings configuration, that is great.

Best Regards,

Job

Posted on December 04, 2017 at 11:43

Sorry for the misunderstanding, Pinmap Wizard  is the Pinmap Editor

you can use the output formatter 

there is some practical functions to scan or print using emulated C Functions (printf and so on ..) 

            Best regards

                        Erwan

Posted on December 04, 2017 at 20:45

Hi Erwan,

Thank your for the clarification. 

Cheers,

Job