Hi,
I am using the c2000 F28M35H52C1 CC with the docking station with Code Composer Studio v5
I am using the setup_m3 project and the cpu_timers_c28 projects.
I program the timer 0 (on the C28) to make an interrupt every 50 µs
ConfigCpuTimer(&CpuTimer0, C28_FREQ, 50);
And during the interruption of the Timer I toggle a GPIO :
interrupt void cpu_timer0_isr(void)
{
GpioG1DataRegs.GPBTOGGLE.bit.GPIO34 = 1;
counter++;
GpioG1DataRegs.GPBTOGGLE.bit.GPIO34 = 1;
// Acknowledge this interrupt to receive more interrupts from group 1
PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;
}
Here is the procedure that I follow with the debugger. (PART 1)
- connect to M3
- connect to C28
- Flash the C28
- Flash the M3
- Run the C28
- Run the M3
Then I observe on my scope that the interruption of the timer is every 50 µs and the GPIO is set up during 400 ns (this is very long) ?!!
So I have done this : (PART 2)
- Pause the M3
- Pause the C28
- Restart M3
- Restart C28
- run C28
- run M3
- Pause M3
After the pause of the M3 I get an error (I guess it is)
Then :
- Pause the C28
- reFlash the C28
- run the C28
Then I observe on my scope that the interruption is every 100 µs and the GPIO is set up during 100 ns (better) ??
So I suppose that my clock is faster and it's what I wants to.
How I can get this faster clock speed without doing all the step of (PART 2) ?
Thanks in advance.
Regards
Adrien
