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: How to de-initialize unrequired peripherals manually

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi, In my code  I want to de-initialize some unrequired peripherals after some time. Such as, during the time of diagnosis I may require some peripherals, but afterwards I don't need them. If I de-initialize, I need them to be in some known state. It should not be in floating state. So, is there any API available for it or If I has to do manually, how to de-initialize them all at once. Suggest me a better way to do these things. Thank you.

  • Hello,

    You can toggle the peripheral software reset bits to reset the peripheral's registers - please see the Peripheral Software Reset registers in the device TRM.

    You can use "SysCtl_resetPeripheral()" detailed in the C2000Ware DriverLib to reset a peripheral - see the sysctl.h file for details on this function and its inputs:

    Best Regards,

    Allison