Hello Jiri,
thxs for your solution. It should be good for the period time I'm using (currently >=100us; but it will be smaller in future apps).
--------
As the chip has the advanced PWM module, I intended to use it and it would be more precise, what is important in my app.
My idea now is:
1. use the PPG as the time generator and connect it to my hardware
2. feed the PPG output additionally into a Counter of the processor
3. that Counter is loaded with the number of pulses, which the current period time shall clock
4. the Counter interrupts at it's countdown
5. inside the ISR the new data can be loaded
Also an advantage would be less interrupts occuring, as the FEC and all UARTS have to be served.
????
I need your help in identifying that """Counter"""
Best Regards,
Steamy