Hello NXP team,
I am facing a timing issue with scfw requests from M4 core. Including the "ipc open" and "ipc close" commands, it is taking 4ms. Is this time duration as expected? Any method to reduce the time?
At scfw board.c , we did not implement any immediate action, instead we copy the arguments and exit from "boarl_ioctl" function so that M4 need not wait till the action is done. The request processing is done only in the next iteration of board_tick(). So wrt M4, the scfw request is asynchronous. Still, it is consuming 4ms.
Processor is MIMX8DX5AVLFZAC
Please find the attachments for more details.
1. Screenshot of the code in M4 where time measurement points are marked
2. Screenshot of the implementation in "board_ioctl"
Thanks and Regards,
Shiva
Thanks for the reply. The 4ms time was taken due to the debug prints added in board.c. It's resolved now. Kindly close this ticket.
Thank you for the reply. The long execution time was due to the debug prints added in board.c. Its resolved now. Please close this query.
Hi @ShivaShankarKonda,
Thank you for your patience.
I have reviewed this case, and this is an expected time based on clocks configured for this function.
You can try to manipulate these clocks, but it is not recommended.
If you have any questions or concerns, please let me know.
Have a great day!