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: Detailed description of the PENA-Bit in the CLKCNTL-Register needed

Part Number: TMS570LC4357

Hi experts,

The Technical Reference Manual lists the PENA-Bit in the CLKCNTL-Register with the following description: "Peripheral enable bit. The application must set this bit before accessing any peripheral."

Since a detailed description of this bit is missing, I would like to know what this bit does and when it should be set in the program flow.

What exactly does this bit reset?

Thank you and best regards,
Max

  • Hi Max,

    Since a detailed description of this bit is missing, I would like to know what this bit does and when it should be set in the program flow.

    What exactly does this bit reset?

    If this bit was not set, then all the peripherals will be in reset state only. That means even though we write value into the peripheral registers that won't get write, only after setting this bit then only all the peripherals will come out of reset and can take the values.

    So, this bit should need to be set as soon as after device RESET.

    It would be better to set this bit after memory initializations done. Because after this PLL, pin mux initializations etc will come right.

    --
    Thanks & Regards,
    Jagadish.