Part Number: TMS320F28379D
Tool/software: Code Composer Studio
Hello,
My task needs to toggle GPIO pin fast a possible (limit is 50 nano sec), but now I measured toggle period as 156 nano.
My example activates CPU1 only : CSYSCLK 200Mhz
The GPIO toggle function is placed into RAM. Only GPIO63 (GPIOB group) is in use.
The following function runs in example (for measurement):
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma CODE_SECTION(CalulateAnsMeasureNano, ".TI.ramfunc");
void CalulateAnsMeasureNano(void)
{
// Idle loop
for(;;)
{
GpioDataRegs.GPBDAT.bit.GPIO63 = 0;
GpioDataRegs.GPBDAT.bit.GPIO63 = 1;
}
/////////////////////////////////////////////////////////////////////////////////////
How to activate the GPIO pin switch faster ?
Thanks in advance,
AlexP

