DSPRelated.com
Forums

5502's idle configuration takes no effect.

Started by myco...@163.com March 10, 2008
i want to put some domain of 5502 into idle state,but it does not work.
the following is my program:

MOV #0x00, PDP
MOV #0110101110B,PORT(@ICR)
IDLE ;XPORT,CLKGEN,CPU enable,peripherials reside on PERIPH bits
MOV #pdpIDLE, PDP
MOV #01111111000010B,PORT(@PICR) ;using McBSP
IDLE ;misc modele,io,mcbsp,timer0 enable
MOV #11B,PORT(@MICR) ;HPI,DMA
IDLE
after these instructions excuted, i found that ICR、ISTR remain 0x0000,
and PICR and MICR have the right value,but PISTR and MICR remain 0x0000。
Then I found the idle configuration takes no effect, i don't know why.
can any one give me some advice or some example of idle configuration?
thanks a lot.

my email:m...@163.com

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
I have not reviewed the values you are writing to the ICR, but I know
that changes to the ICR need to be followed by six NOPs before
executing the IDLE otherwise the pipeline results in the IDLE seeing
the previous value of the ICR.
I understand that this is also the case for writing to other
peripherals such as the McBSP...

Took us a long time to find this out on the 5510 and 5509!

Paul

--- In c..., mycotty@... wrote:
>
> i want to put some domain of 5502 into idle state,but it does not
work.
> the following is my program:
>
> MOV #0x00, PDP
> MOV #0110101110B,PORT(@ICR)
> IDLE ;XPORT,CLKGEN,CPU enable,peripherials reside on
PERIPH bits
> MOV #pdpIDLE, PDP
> MOV #01111111000010B,PORT(@PICR) ;using McBSP
> IDLE ;misc modele,io,mcbsp,timer0 enable
> MOV #11B,PORT(@MICR) ;HPI,DMA
> IDLE
> after these instructions excuted, i found that ICR、ISTR remain
0x0000,
> and PICR and MICR have the right value,but PISTR and MICR remain
0x0000。
> Then I found the idle configuration takes no effect, i don't know
why.
> can any one give me some advice or some example of idle
configuration?
> thanks a lot.
>
> my email:mycotty@...
>

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467

thanks for your advice,but it still takes no effect.
i do insert some(6 and 16) nop between each instruction,
but the resigter still do not changed.
That is so wierd.

i want to put some domain of 5502 into idle state,but it does not work.
>the following is my program:
>
> MOV #0x00, PDP
> MOV #0110101110B,PORT(@ICR)
> IDLE ;XPORT,CLKGEN,CPU enable,peripherials reside on PERIPH bits
> MOV #pdpIDLE, PDP
> MOV #01111111000010B,PORT(@PICR) ;using McBSP
> IDLE ;misc modele,io,mcbsp,timer0 enable
> MOV #11B,PORT(@MICR) ;HPI,DMA
> IDLE
>after these instructions excuted, i found that ICR、ISTR remain 0x0000,
>and PICR and MICR have the right value,but PISTR and MICR remain 0x0000。
> Then I found the idle configuration takes no effect, i don't know why.
>can any one give me some advice or some example of idle configuration?
>thanks a lot.
>
> my email:m...@163.com
>
>Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
We got the thing working on the 5510 after TI gave us a link to this
5507/5509 app note. Of course the app note does not mention the 5510
so we did not thiunk it relevant to the 5510.
I suggest you trawl the TI web site for similar docs to this one.
You may then find some useful tips.

http://focus.ti.com/lit/an/spra078c/spra078c.pdf

Paul

--- In c..., mycotty@... wrote:
>
> thanks for your advice,but it still takes no effect.
> i do insert some(6 and 16) nop between each instruction,
> but the resigter still do not changed.
> That is so wierd.
>
> i want to put some domain of 5502 into idle state,but it does not
work.
> >the following is my program:
> >
> > MOV #0x00, PDP
> > MOV #0110101110B,PORT(@ICR)
> > IDLE ;XPORT,CLKGEN,CPU enable,peripherials reside on
PERIPH bits
> > MOV #pdpIDLE, PDP
> > MOV #01111111000010B,PORT(@PICR) ;using McBSP
> > IDLE ;misc modele,io,mcbsp,timer0 enable
> > MOV #11B,PORT(@MICR) ;HPI,DMA
> > IDLE
> >after these instructions excuted, i found that ICR、ISTR remain
0x0000,
> >and PICR and MICR have the right value,but PISTR and MICR remain
0x0000。
> > Then I found the idle configuration takes no effect, i don't know
why.
> >can any one give me some advice or some example of idle
configuration?
> >thanks a lot.
> >
> > my email:m...@...
> >
> >Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD
Video Transcoding Solution for Commercial & Consumer End Equipment:
www.ti.com/dm6467
> >
>

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467

Hi Folks,

I am using OMAP 1510 board for ARM emmulation.

I am using CCS2.1. When I am trying to compile my code, it is showing
some error due to RTS library mismatch.

Can you provide me some link from where I can download the required library?

Thanking you in advance,

--
With regards,
Nilanjan Goswami.

Senior Member of Technical Staff
Embedded Systems and Codec Development
Digital Media Group
Interra Systems India Private Ltd
Kolkata Development Centre
INDIA 700091

M +91 9883246764