What is the minimum time required to place a BoardIoctl call from M4 core to scfw (board.c)?

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

What is the minimum time required to place a BoardIoctl call from M4 core to scfw (board.c)?

583件の閲覧回数
ShivaShankarKonda
Contributor II

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

0 件の賞賛
4 返答(返信)

461件の閲覧回数
ShivaShankarKonda
Contributor II

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.

0 件の賞賛

462件の閲覧回数
ShivaShankarKonda
Contributor II

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.

0 件の賞賛

524件の閲覧回数
brian14
NXP TechSupport
NXP TechSupport

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!

0 件の賞賛

531件の閲覧回数
ShivaShankarKonda
Contributor II
Kindly reply.
0 件の賞賛