Dear NXP engineers,
I want to know which one is more faster and efficient between Software vector and Hardware vector.
Because I am using ETAS RTAOS for our ECU. RTAOS default vector mode is Hardware vector mode.
But As you know, We should align to 64KB for IVPR in case of Hardware vector mode using.
So sometimes It could make memory waste.
For example, Vector starts at 0x00945000, Actual assigned address will be 0x0095_0000.
0xB000 will be wasted for alignment.
So If there is no significant advantage about performance, such as CPU throughput, Stack uage, so on, I want to use Software vector mode.
Our OS also support software vector mode.
Please let me know your opinion.
Thank you!
Hello,
please read my description in the thread below.
https://community.nxp.com/message/603629
As you wrote, Hardware vector mode can require more memory, but it is little bit faster (because less instructions is executed). Another "advantage" is that every interrupt handler can have it's own prolog and epilog.
If you have any other questions, please feel free to write me back.
Regards,
Martin