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.
Hello,
We are working currently on a prototype device with TMX320F28335 (TMS are very hard to get so will still have to stick to this version). And we have trouble reaching such small current consumption of the controller in HALT mode you claim in datasheet.
The code is like this:
EALLOW;
if (SysCtrlRegs.PLLSTS.bit.MCLKSTS != 1) // PLL not in limp mode
{
DINT; //disable interrupts
SysCtrlRegs.PCLKCR0.all = 0; // disable all clocks
SysCtrlRegs.PCLKCR1.all = 0;
SysCtrlRegs.PCLKCR3.all = 0;
SysCtrlRegs.LPMCR0.bit.LPM = 0x0003; // HALT
DISABLE_POWER; //turn of auxiliary voltages +/- 5V (our macro)
EDIS;
asm(" IDLE");
}
The trouble is the controller still consumes about 16mA from 1.9V rail, and 18mA from 3.3V. JTAG is disconected and the program is running from FLASH. We are using 30.000 Mhz crystal resonator.
We even noticed, that if we go to STANBY mode the currents are not changing from those we get in HALT mode.
So, is there something wrong with the TMX silicon, or there is some mistake from our side? We should have currents in the range of hundreds of microamps..
Andrew
It seems that we forgot to turn off the flash memory module.
When we do this:
FPWR = 0; //set FLASH to SLEEP MODE
than the current consumption is down to microamps range :-)
Just remember that the above code line must be executed from internal SARAM.
But, I think it should be mentioned in the datasheet somewere...
Andrew
Andrew,
This (Flash powered down) is mentioned in the Table 6-1 of the data sheets (SPRS439E). May be you missed it.
Pradeep