Hello Enigma,
6.5 us for the pulse due to pin toggling is indeed rather slow. I would suggest the following:
1) Ensure that the chip is running at the maximum frequency of 32 MHz
2) Use direct register coding instead of through the LLD, for example to toggle pin P0.0:
With the above steps, you should be able to get down to a pulse in the nanosecond range.
If further reduction is still required, you can also:
3) Select optimization level 1 in the active project properties (from project tab)
Regards,
Min Wei
6.5 us for the pulse due to pin toggling is indeed rather slow. I would suggest the following:
1) Ensure that the chip is running at the maximum frequency of 32 MHz
Code:
XMC_SCU_CLOCK_SetMCLKFrequency(32000);
Code:
PORT0->OMR = 0x00010001;
If further reduction is still required, you can also:
3) Select optimization level 1 in the active project properties (from project tab)
Regards,
Min Wei