Cyclic messages
Posted: Thu 9. Dec 2021, 15:24
Hi PEAK Forum,
I am currently developing custom firmware for the PCAN-Router Pro, using the PCAN development kit.
As part of my development I'm trying to send out cyclic status messages every 20 ms, Ideally, I would set up an independent thread sending out defined messages.
How would I go ahead to do that? How do I set up cyclic messages using the dev kit?
I can't find any option for timekeeping in smaller increments than seconds in the lpc22xx.h to test against, and creating threads does not seem possible unless I port my entire project to C++.
Regards,
Litke
I am currently developing custom firmware for the PCAN-Router Pro, using the PCAN development kit.
As part of my development I'm trying to send out cyclic status messages every 20 ms, Ideally, I would set up an independent thread sending out defined messages.
How would I go ahead to do that? How do I set up cyclic messages using the dev kit?
I can't find any option for timekeeping in smaller increments than seconds in the lpc22xx.h to test against, and creating threads does not seem possible unless I port my entire project to C++.
Regards,
Litke