Other Parts Discussed in Thread: HALCOGEN, RM48L540
Hello! My name is Carlos
I'm having trouble reducing the power consumption of the TMS570LS3137 microcontroller. I'm basing all my work in the Application Report of TI about this specific topic, named "Reduction of power consumtion for TMS570LS3137". (https://www.ti.com/lit/an/spna173/spna173.pdf?ts=1681316353136&ref_url=https%253A%252F%252Fwww.google.com%252F )
I'm interested in the ability to power down the clocks of some peripherals. Let's say for example the DCAN1 module. To do this, the application report methodology suggests using the Peripheral Power-Down Set Register 1 (PSPWRDWNSET1), specifically setting the bits 0 and 1. In fact, the report says that the peripheral select number is PS8 (in table 5), with the asociated bits being Q[0,1], but if we search for the Peripheral Power-Down Set Register 1 (PSPWRDWNSET1) in the refference manual we can confirm that we need to set bits 0 and 1 from this register.
The problem I'm having is that, when I try to set those bits (0 and 1) from the PSPWRDWNSET1 register, only the bit 0 responds and gets seted. Bit 1 does not. In fact, I also tried setting all 32 bits from that register, and again, only a few did respond. Reading that register after attempting to set all 32 bits gives the following answer:
01010000000100010000000100000101b
I know that the application report says that those bits that are not implemented will always read as 0, but in the case of the DCAN1 perihperal, I know that bit 1 should respond. Also, I operate in privileged mode when I try to set those bits.
Can you help me realizing what am I doing wrong?
Thanks a lot in advance!