Hi
I use FIFO+DMA to receive CAN data,each CAN receive about 60 messages. The configutation for CAN and DMA is in attached file.
During testing,I see a lot of data is missing,as you can see the picture,the red curve the stand signal which will be received,the blue one is the data transmitted out,we can see a lot of data is missing. this could cause message timeout issue and the controller can't work normally,especially in the vehicle.
by the way,the 8 CAN channels working together,is there any method to meausure the chip load?
thank you for your reply.
Hi,
to measure CPU load you should use some internal timer, start /stop it in your code and do necessary calculation.
If using the FreeRTOS you can use its statistic; see more e.g. in https://community.nxp.com/t5/S32-Design-Studio/How-to-view-the-heap-and-stack-informations-use-s32ds
BR, Petr