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.

TMS320F28377D-EP: What is the need for the delay SYSCTL_REGWRITE_DELAY?

Part Number: TMS320F28377D-EP
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hello,

What is the concrete purpose of the delay instruction #define SYSCTL_REGWRITE_DELAY asm(" RPT #69 || NOP") in the device.lib? (This instruction is located in cputimer.h, sysctl.c and sysctl.h).

The delay instruction #define SYSCTL_CLKSRCCTL_DELAY asm(" RPT #250 || NOP \n RPT #50 || NOP") is explained in the errata SPRZ412N section "SYSTEM: Multiple Successive Writes to CLKSRCCTL1 Can Cause a System Hang".

However, I cannot find any information regarding SYSCTL_REGWRITE_DELAY. It was not in the C2000ware_4_01_00_00 version.

 

Thank you

Laurent

  • Hi Laurent,

    We have added this delay between 2 consecutive writes to memory mapped register in sysctl.
    We have mentioned regarding the same in the TRM in newer devices in the section - System Control Register Configuration Restrictions
    Attaching them for your reference - 
    Thanks
    Aswin