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