S32K144 MCAL CAN demo

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

S32K144 MCAL CAN demo

2,043件の閲覧回数
mmaslyukov
Contributor I

Dear NXP.

Recently I've purchased few S32K144 boards, downloaded S32K14X_MCAL4_0_RTM_1_0_4, Tresos 23.0.0 and S32 Design Studio for ARM v2.0, mainly to try out AUTOSAR concepts and test it in real CAN environment. I've managed to generate, build and flash Sample Application to board, but stuck with CAN module. It's simply doesn't send anything to peripheral, neither CAN controller, nor MCU's GPIOs: PTE4, PTE5. Apparently Sample Application just simulates sending/receiving of CAN message, because in console output I'm seeing RXed message is the same as TXed.

TXed data hard coded to 'sample_app_mcal_can_task.c' file (Hexadecimal format) 

VAR(uint8, CAN_VAR)  data[8U] = {0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38};

RXed data from console output (Decimal format)

CAN Rx MSG:49
CAN Rx MSG:50
CAN Rx MSG:51
CAN Rx MSG:52
CAN Rx MSG:53
CAN Rx MSG:54
CAN Rx MSG:55
CAN Rx MSG:56
CAN RX data completed.

Could you please confirm that trial MCAL could be used in real CAN environment?

If so could you please point me to any documentation or guidance of CAN module configuration? 

Thank you.

ラベル(1)
タグ(3)
0 件の賞賛
1 返信

1,140件の閲覧回数
vlele
Contributor II

Hey,

I am facing similar issue, were you able to find the solution for it?

Thanks

0 件の賞賛