S32G LLCE (CAN) excute command return LLCE_ERROR_COMMAND_NOTACCEPTED

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

S32G LLCE (CAN) excute command return LLCE_ERROR_COMMAND_NOTACCEPTED

1,130件の閲覧回数
chenhong
Contributor I

Dear All

   At moment, I am using LLCE firmware and driver which is from NXP in FreeRTOS, I met a issuse that the LLCE return LLCE_ERROR_COMMAND_NOTACCEPTED when I call some LLCE routines.

The sisuation is that

1 . send a "set controller mode command"  immediately after send a "write a message command"   in one task .

2 . event when I seprate them in two task (each task cycle is 1ms),  I met the same issue.

Very hope to recieve your answers , thank you very much !

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

1,054件の閲覧回数
MayanksPatel
NXP Employee
NXP Employee

Hi @chenhong,

Hope you are doing well.

When you send the "Set Controller Mode Command", the LLCE controller will issue a notification of its state in the "Set Controller Mode notification" command. Have you checked the controller state before writing a message to it?

Also, Can you try to increase the delay of the write a message command thread from 1 ms to 10 ms or even more?

Let us know if it doesn't work.

 

Regards,

Mayank s Patel

 

0 件の賞賛
返信