can_pal demo on S32K148-EVB issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can_pal demo on S32K148-EVB issue

821 Views
antoine_monmarc
Contributor V

Hello,

I'm having an issue to run the demo can_pal from S32DS_ARM_v2018.R1 SDK.

I followed the instruction in can_pal.dox

I'm using a S32K148-EVB revB so I commented:

//#define EVB_REV_A

//#define MASTER
#define SLAVE

When I start the debug, I always get a STATUS_TIMEOUT in function LPSPI_DRV_MasterTransferBlocking.

The board is powered from the 12V and connected in USB.

Any idea?

0 Kudos
Reply
2 Replies

726 Views
antoine_monmarc
Contributor V

As additional information, I'm monitoring the SPI communication on J4 pins 3, 6, 9 and 12 and I cannot see any signal (all are at GND) during debugging.

0 Kudos
Reply

726 Views
antoine_monmarc
Contributor V

Hello,

I fixed the issue by changing the SBC configuration to use SPI LPSPI1. 

LPSPI0 was selected by default.

0 Kudos
Reply