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.

TMS570LC4357: Means for Module deactivation

Part Number: TMS570LC4357


Hello,

We are using the TMS570LC4357, and we would like more information about module deactivation.

What is the best means to deactivate module (e.g. ADC, DCAN or MibSPI) : not to mention the power domains, must we drive the Reset or disable bits when possible and/or turn off clock and/or set low power mode when possible ? Is there an order to respect in the deactivation of modules ?

Best regards,

Christopehr

  • Hello Christopher,

    There are several options to deactivate a module. Most modules are not enabled by default and require the application to configure the required functionality. Some options for you:

    • You can hold all peripherals under reset by not setting the PEN (Peripheral ENable) field of the CLKCNTL (peripheral clock control) register. This would hold all peripherals under reset, which may not be what you want. This also does not disable the clocks to these modules.
    • Some modules support a module-level power down mode. This control disables the logic clock within the module itself, while still leaving the registers and CPU interface clock ON. This allows the application to still "query" the module while keeping any digital logic (e.g. state machine) in the default state.
    • Clock gating from the peripheral central resource controller (PCR). You can choose to disable distribution of the peripheral clock (VCLK) to each individual peripheral select (PS) and peripheral memory select (PCS) as defined in the datasheet. This is done via the  PSPWRDWNCLRx registers during initialization.
    • Clock gating from the Global Clock Control module. You can disable an entire clock domain from the GCM module. This is done via the Clock Domain Disable (CDDIS) register. Note that this disables the selected clock domain for every module that receives this clock.

    Regards,

    Sunil

  • Hello,
    OK, thanks for your answer.

    If I understand, if a module is disabled (by default or by the user), it is the first means to deactivate a module and thus it is not needed to disable the module clock ? Or does you recommend to disable the module and disable the dedicated clock ?

    Best regards
    Christopher
  • Chris,

    Gating the logic clock at the module level gives the minimal saving in power consumption. Turning clock off to the entire module disables clock even to the registers. In this case, even the pin level status registers do not capture the pin levels for peripheral modules.

    Regards,
    Sunil