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 !
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