2024-08-27 10:53 PM
Dear all,
Good morning, I am facing issues with some functions in autodevkit.
The functions osalThreadDelayMilliseconds() and osalThreadDelayMilliseconds() are blocking the entire execution.
As the Autodevkit driver doesn't support the CANTP(response taken from AutoDevKit Community) so I am sending 8 bytes and then 8 bytes and so on. For this I need delay between each set of 8 bytes for this delay implementation I am using above mentioned function in different ways, but this is blocking entire CAN communication.
So Can anyone help me to figure out this issue.
Thanks & Regards,
Aishwarya
2024-08-28 03:17 AM
Hi,
probably you an issue with nested interrupt.
Please, enable "Preemptable ISRs" option on "OSAL component RLA" and put in your CAN IRQ callback routine OsalEnterCritical() and OsalExitCritical() functions in order to disable interrupt during callback execution.
If problem persist, please, share your example code.
Luca R.