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.

TMS320F28386S: Register in TMS320F28379D does not exist in the 386S

Part Number: TMS320F28386S
Other Parts Discussed in Thread: TMS320F28379D, , C2000WARE

Greetings,

We are moving from the TMS320F28379D to the TMS320F28386S.  In the initialization of the 379D, we use the DC18 register, among others, to initialize the LSRAM.  Those registers no longer exist, and I can’t find a replacement for them in the DEV_CFG_REGS.  Is there an equivalent register somewhere else, or is it simply no longer needed?

Thank you,

Ed

  • Ed,

                Both TMS320F28379D and TMS320F28386S devices have LS0-LS5 RAM banks and hence the DC18 register. I confirmed that the respective device TRMs do mention this register.

    In the initialization of the 379D, we use the DC18 register, among others, to initialize the LSRAM.

    This is a read-only register. Not sure exactly how you use it in your application.

    Those registers no longer exist, and I can’t find a replacement for them in the DEV_CFG_REGS. 

    I checked the F2837xS_sysctrl.h file in C:\ti\c2000\C2000Ware_5_00_00_00\device_support\f2837xs\headers\include and it correctly includes the DC18.

    Is there an equivalent register somewhere else, or is it simply no longer needed?

    There is no equivalent register somewhere else. If you indeed used that register for some purpose in 379D, you need to use it in 386S as well.

  • Hi Hareesh,

    Thank you for the quick reply.

    We use it, along with other registers to determine which memories are available, start the initialization, and then wait for the initialization to complete.

    The 379 TRM (spruhm8i) on page 264, section 3.15.9 shows that register and a variety of others.  I have searched the 38x TRM (spruii0e), page 399, section 3.16.9 DEV_CFG_REGS and cannot find the register.  The addresses where they exist in the 379 TRM are absent.  I’ve also searched the entire document in case they were moved, but still cannot find them.

    But I can see it in the file you mentioned.

    Were they accidentally removed from the TRM?

    Thank you,

    Ed

  • Ed,

                I am extremely sorry. I was looking at the wrong device. I looked at TMS320F28376S, not the TMS320F28386S. The DCx registers were originally conceived to be for TI internal use. Hence they were removed from the documentation for TMS320F28386S device (and the C2000ware header files).

  • Hi Hareesh,

    No problem.  Do we even need to wait for the memories to initialize or is that handled by the boot ROM?

    Thank you,

    Ed

  • Once the boot-ROM goes through its paces and branches to Flash for application execution, RAMs are already initialized at that point. No need to "wait".

  • OK.  Thank you Hareesh,

    Ed