There are some problems when I make 5510 enter idle mode.According to the datasheet,the dsp will enter idle mode if I configure the six idle domains or one or some of them.Now I'd like to let the dsp enter idle mode totally.So I set the six idle domains.I also set the "IDLEEN"bit of the Mcbsp and the timer.But there is no effect.The current reduces 5mA.
my questions:
1.how much is the lowest current of 5510?
2.what is the mean of "idle instruction" in 5510?
3.how do I write my codes? Take the Mcbsp for example.Do I need open the Mcbsp before I configure it ? How about the timer?
4.how to deal with the unused pins?such as HA[19:0].
These are my codes below.
#include <stdio.h>
#include <csl.h>
#include <csl_mcbsp.h>
#include <csl_timer.h>
#include <csl_pwr.h>
void main()
{
CSL_init();
PWR_FSET(ICR,PERI,1);
PWR_FSET(ICR,EMIFI,1);
PWR_FSET(ICR,DMAI,1);
PWR_FSET(ICR,CACHEI,1);
PWR_FSET(ICR,CPUI,1);
PWR_FSET(ICR,CLKGENI,1);
MCBSP_FSET(PCR0,IDLEEN,1);
MCBSP_FSET(PCR1,IDLEEN,1);
MCBSP_FSET(PCR2,IDLEEN,1);
TIMER_FSET(TCR0,IDLEEN,1);
TIMER_FSET(TCR1,IDLEEN,1);
asm("\t IDLE");
}