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: Unable to put the RTP module in reset

Part Number: TMS570LC4357

Tool/software:

Hello Experts,

The Safety Manual suggests leaving unused peripherals in reset.
One of our unused peripherals is the RTP module.

The RTP module is out of reset by default, so we wanted to put it in reset state.

For some reason, writing a 1 to bit 7 of the RTPGLBCTRL register has no effect. The write is completely ignored and bit 7 remains 0.

Is this a bug or is there a specific reason why this is not possible?

Thank you and best regards,
Max

  • Hi Max,

    That bit will not keep the RTP in reset state, it will just reset the state machine inside the RTP.

    When we write 1 to this bit it will reset the state machine and once the state machine got reset this bit will automatically come to the value 0. I mean only when the reset process is going at that time this bit state will be 1 and once it successfully reset the module then it will comes to the logic 0.

    For Example:

    Here is the initial values of RTP after reset of the controller.

    Now i wrote the 0xA to the lower nibble to enable the tracing:

    Here the value successfully written to it.

    Now i am writing Logic-1 to the 7th bit to reset the state machine:

    As you can see the state machine got reset and our trace enabled value came back to 0x5.

    --
    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    This means that the description of the bit in the technical reference manual would be incorrect, right?

    Thank you and best regards,
    Max

  • Hi Max,

    No, i don't see any issue with the description related to this bit in the TRM.

    Here they also mentioning that this bit will reset the state machine and register values.

    And also, there is another ON/OFF bit, so after doing ON or OFF, they are saying we can use this reset bit to clear the FIFO data.

    --
    Thanks & regards,
    Jagadish.