cancel
Showing results for 
Search instead for 
Did you mean: 

using UART

stefanodimascio9
Associate II
Posted on November 27, 2015 at 11:13

Hello everybody,

I'm using the SPC56EL70L5DISP board.

In order to use UART, I put the jumpers in J18 and J20 to connect UART-MCU LIN0, following the board user guide.

Running the test example with UART and blinking LEDs, I try to read the hello world from a PC. I use a serial to USB adapter and a software configured for 38400-N-1 with no flow control or handshaking. I don't receive anything though.

I'm asking for a confirmation: should this work or did I miss something here?

Thanks in advance for the help.

#spc56 #uart
8 REPLIES 8
Erwan YVIN
ST Employee
Posted on November 27, 2015 at 11:29

Hello Stefano ,

you have to take : SPC56ELxx OS-Less Test Application for DiscoveryPlus

yes , your jumper configuration is good.

JP18 and JP20 should be plugged on UART-MCU LIN0

38400 Bauds is the good default speed.

Anyway, i am checking the test application on SPC5Studio 3.7.1.

   Best Regards

                Erwan

Erwan YVIN
ST Employee
Posted on November 27, 2015 at 15:33

Hello Stefano ,

the test application coming from SPC5Studio 3.7.1 ''SPC56ELxx OS-Less Test Application for DiscoveryPlus'' is working well

(Cf Screenshot)

you have to use the USB-COM Port driver from your USB Cable not the Virtual COM PORT (VCP) Generated by the FTDI Driver from SPC5-UDESTK

          Best regards

                         Erwan

Erwan YVIN
ST Employee
Posted on November 27, 2015 at 15:38

Here is the screenshot

''my.st.com'' is lagging today

            Best regards

 

                     Erwan

Erwan YVIN
ST Employee
Posted on November 27, 2015 at 15:45

I can not attach anymore a image file on my.st.com

...sorry for this issue ...

           Best regards

                            Erwan

stefanodimascio9
Associate II
Posted on November 27, 2015 at 17:38

I've only my cable COM in the device manager. VCP is not loaded in the FTDI driver and I can't connect any other COM. I've tried other PCs too and it doesn't work anyway. I'm going to check if D connector electrically works and to try with other cables.

Thank you, you're very helpful

Erwan YVIN
ST Employee
Posted on November 30, 2015 at 10:53

Hello Stefano ,

Could you check these jumper configurations ?

Best regards

Erwan

________________

Attachments :

DSC_0272.JPG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0P0&d=%2Fa%2F0X0000000bYz%2F7mPVVBZFggcDB0uMEh5Om79JxNS2cCFe0sKENKsqDBs&asPdf=false
stefanodimascio9
Associate II
Posted on November 30, 2015 at 18:22

Thanks, this is my jumper configuration. I hope I will be able to try another cable and to check the DB9 connector soon. 

stefanodimascio9
Associate II
Posted on December 01, 2015 at 21:28

The problem was the chosen serial to usb adapter that doesn't work properly.Using another cable solved the problem. 

Thanks again!