Dear team,
My customer's requirment is as below:
1. Output two channels of complementary PWM, with 200kHz frequency and 50% duty cycle;
2. Use CAN2TX, CAN2RX pins to output the PWM;
3. PWM is generated from GPIO level flip in the period of RTI interrupt (2.5us);
4. In their projects, they also used ADC interrupt (10us);
Currently, they set RTI and ADC interrupt as IRQ or FIQ, and the wave of RTI interrupt (yellow) and ADC interrupt(green) is as below, it seems that the interrupts influence each other.
Could you help to give a example on how to realize the 2 channels of complementary PWM, with 200kHz frequency and 50% duty cycle in the period of RTI interrupt? Thanks a lot.
RTI_FIQ&ADC_FIQ(20u)
RTI_FIQ&ADC_IRQ
RTI_IRQ&ADC_IRQ(20u)
RTI_IRQ&ADC_FIQ(20u)