Other Parts Discussed in Thread: TMS5703137
Hello! My name is Leandro
In my current project, I'm working with a TMS570LS3137 microcontroller, and I need to turn off some peripherals to save power (I mean, disable the peripheral clock). I found this aplication report from TI that informs how to do that: https://www.ti.com/lit/an/spna173/spna173.pdf?ts=1681316353136&ref_url=https%253A%252F%252Fwww.google.com%252F . It's named "Reduction of power consumtion for TMS570LS3137".
The report suggests first using the Peripheral Power-Down Set of registers to turn off (I mean, disable it's clock) a peripheral.
I managed to do that correctly, and I turned off all of the peripherals that I don't use. I did not notice any reduction of total current consumption, but I did not worry about it, because in the application report, the authors posted their results and they were really low.
So after that, I continued with the next step: turn off clock domains. I managed to turn off the following clock domains: AVLCK1 (associated with CANx), VLCK2 (associated with some HETs), AVLCK4 and VCLK3(both associated with Ethernet). For this, I used only the CDDIS (Clock Domain Disable Register), setting a bit according to the number of clock domain I wanted to turn off. Of course, I made sure that every peripheral associated with a clock domain in particular was turned off before turning off the clock domain ( by checking in the Peripheral Power-Down Set of registers).
So, after all of that, the bits in the CDDIS register did respond well (they got set), and, theoretically, the clock domains did turn off. But I dont see any current consumption decrease :( . The authors of the application report reported a good amount of current decrease, and i'm not being able to reach even a 1mA decrease.
Can you please help me realising what did I do wrong?
Edit1: I'm working in supervisor mode in my application, just in case.
Edit2: The way I am measuring the current consuption is with a multimeter in series at the 10V input of my development kit. I'm measuring right now 95mA with a GCLK and HCLK of 20MHz. The rest of the peripheral clocks are at 10MHz.
Thanks a lot in advance!