2017-01-10 11:40 AM
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 #sci2017-01-11 01:01 AM
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
2017-01-14 03:51 AM
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.
2017-01-15 09:59 AM
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)
note: the example works, instead
2017-01-17 12:48 AM
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
Best regards
Erwan