cancel
Showing results for 
Search instead for 
Did you mean: 

eSCI and Virtual COM Port (PLS) for SPC653M

Marco Perciavalle
Associate II
Posted on January 10, 2017 at 20:40

Hi,

I have some problems with serial communication with my board. Could someone help me, please?

I have an SPC563M board with SPC5-UDESTK (pls) for debugging. Is this device designed for Serial trasmission by virtual COM Port? If it isn't possible, why the drivers installed on my PC allow me loading VCP (enabling COM Port)? Moreover, is there another way to communicate with board using a serial protocol? I've read in 'RM0015 Reference manual for SPC563MXX' that in this board there are two eSCI ports: how could I use these ports for my purposes? I've thought to use USB physical layer for this, is it right?

Thanks a lot for any answers.

Best regards.

Marco.

#udetsk #spc56xx #serial #drivers #spc563m #sci
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
4 REPLIES 4
Erwan YVIN
ST Employee
Posted on January 11, 2017 at 10:01

Hello Marco ,

Do you use SPC56EL70L5DISP or MotherBoard / Mini-Module ?

you should use USB-Serial Cable plugged on your DB9 SCI (JP18/JP20 Jumper)

Enabling VCP is working only for B/D Discovery Board

There is a nice example in SPC5Studio Application Wizard

SPC56ELxx OS-Less Test Application for DiscoveryPlus

             Best regards

                     Erwan

Marco Perciavalle
Associate II
Posted on January 14, 2017 at 12:51

Hi Erwan, 

no, I use SPC563M-DISP. However, thanks for the support. The example in 

SPC5Studio Application Wizard for SERIAL driver works. 

I've another question to do: I want to create a new program; I import the right libraries, I active Serial in 'SPC563Mxx Low Level Drivers Component RLA' and I select in eSCI0 the 'serial' option; so I generate the application. The program created doesn't work. Why?

I've noticed that the folder named 'spc563mxx_board_initialization_component_rla' is different to the one of the example: inner files (board.h, in particular) don't declare several component such as PIN_SCI_A_RX and PIN_SCI_A_TX_1. Is this differences to cause this problem?

Thanks a lot!

Best regards

Marco.

Marco Perciavalle
Associate II
Posted on January 15, 2017 at 18:59

I've declared missed variables and I've copied the ''main.c'' of the example in my new project: when I flash the board with this program, I obtain the error in the pictures. (pictures from pls UDE)

0690X0000060MpiQAE.jpg

0690X0000060MpmQAE.jpg

note: the example works, instead

Erwan YVIN
ST Employee
Posted on January 17, 2017 at 09:48

Hello Marco ,

I think that you forgot to enable the associated LINFLEX.

Low Level drivers RLA and Board Initialization Components (Pinmap Wizard)

when you use any IP in RLA or HAL you should enable it by the component

otherwise , the IP is not clocked and can generate an assert.

Compare the 2 configurations

0690X000006063yQAA.png0690X00000605waQAA.png

    Best regards

                     Erwan