Hello All,
I am using FPB-RA4E1 board with FSP v4.2. I know that I can enable GPT output pins but I am trying to get a PWM output from a different pin (P015). I used the GPT module and set up a periodic timer with 1MHZ. During the callback function I toggle the output pin. Though I should get a 500kHz output the maximum value I saw is 360kHz. Is there a maximum limit to frequency of I/O pins? What is the reason for not getting the frequency I want?
Thanks
İrem
What is the clock speed of the processor, and how many instructions are there in the interrupt routine? Add in the time to stack the registers, and if you have more than 40 instructions in the routine, you are in trouble!
You need to write the interrupt routines in assembler.