This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: GPIO used with external peripheral

Part Number: TMS320F28379D


Hi ,

Our company is using Gpio as address and data bus for FRAM communication . But we are facing the delay in value updation while reading the data due to GPIODAT register . Kindly suggest some way out as we cant use toggle , set or clear in their place.

GpioDataRegs.GPCDAT.bit.GPIO85=f_data.fdata.bit1;
GpioDataRegs.GPCDAT.bit.GPIO83=f_data.fdata.bit2;
GpioDataRegs.GPCDAT.bit.GPIO82=f_data.fdata.bit3;
GpioDataRegs.GPCDAT.bit.GPIO81=f_data.fdata.bit4;
GpioDataRegs.GPCDAT.bit.GPIO80=f_data.fdata.bit5;
GpioDataRegs.GPCDAT.bit.GPIO79=f_data.fdata.bit6;
GpioDataRegs.GPCDAT.bit.GPIO78=f_data.fdata.bit7;
GpioDataRegs.GPCDAT.bit.GPIO77=f_data.fdata.bit8;
GpioDataRegs.GPCDAT.bit.GPIO76=f_data.fdata.bit9;
GpioDataRegs.GPCDAT.bit.GPIO75=f_data.fdata.bit10;
GpioDataRegs.GPCDAT.bit.GPIO74=f_data.fdata.bit11;
GpioDataRegs.GPCDAT.bit.GPIO73=f_data.fdata.bit12;
GpioDataRegs.GPCDAT.bit.GPIO72=f_data.fdata.bit13;
GpioDataRegs.GPCDAT.bit.GPIO71=f_data.fdata.bit14;
GpioDataRegs.GPCDAT.bit.GPIO70=f_data.fdata.bit15;
GpioDataRegs.GPCDAT.bit.GPIO69=f_data.fdata.bit16;

Regards

Drishti

  • Drishti,

    We do not recommend using data register to drive the GPIO pins in this manner. Is there any specific reason you are toggling one GPIO at a time. If you have to use the data register then why not do a write to full data register instead of one by one ?

    Regards,

    Vivek Singh