can_pal demo on S32K148-EVB issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

can_pal demo on S32K148-EVB issue

819件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

724件の閲覧回数
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 件の賞賛
返信

724件の閲覧回数
antoine_monmarc
Contributor V

Hello,

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

LPSPI0 was selected by default.

0 件の賞賛
返信