LEAF_ENTRY SetRunMode
;;;;;set PXA270 Run
Freq;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ldr r0,=0x41300000
ldr r1,[r0, #CCCR_OFFSET]

ldr r2,=0xfffff860
and r1,r1,r2
orr r1,r1,#0x10 ;L=16
orr r1,r1,#0x280 ;2N=5 Turbo
Mode=520M

str r1,[r0, #CCCR_OFFSET]

mov r3,#0x2 ;Frequency Change
orr r3,r3,#0x1 ;Set CPU to Turbo Mode
mcr p14, 0, r3, c6, c0, 0 ;write CLKCFG



mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG wait for six
clock
mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
RETURN

then the CPU will become unstable,and reboot randomly.To my
surprise,why the cpu run in turbo mode without the current increase? Is
my method right?Can the PXA270 run up to 520MHz only in turbo mode?(My
CPU is PXA270C5C520)

Re: How to make pxa270 run in 520MHz? by K

K
Tue Dec 26 01:29:11 CST 2006

Make sure the VCore is set to proper voltage range.
According to the dataseet, when running in 520MHz mode, the suggestion Vcore
is 1.45v.

"shofar" <gaobinhua@gmail.com> ׫??ì¶à]¼þÐÂÂ?:1167112069.337047.67080@79g2000cws.googlegroups.com...
> LEAF_ENTRY SetRunMode
> ;;;;;set PXA270 Run
> Freq;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ldr r0,=0x41300000
> ldr r1,[r0, #CCCR_OFFSET]
>
> ldr r2,=0xfffff860
> and r1,r1,r2
> orr r1,r1,#0x10 ;L=16
> orr r1,r1,#0x280 ;2N=5 Turbo
> Mode=520M
>
> str r1,[r0, #CCCR_OFFSET]
>
> mov r3,#0x2 ;Frequency Change
> orr r3,r3,#0x1 ;Set CPU to Turbo Mode
> mcr p14, 0, r3, c6, c0, 0 ;write CLKCFG
>
>
>
> mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG wait for six
> clock
> mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
> mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
> mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
> mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
> mrc p14, 0, r3, c6, c0, 0 ;read CLKCFG
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> RETURN
>
> then the CPU will become unstable,and reboot randomly.To my
> surprise,why the cpu run in turbo mode without the current increase? Is
> my method right?Can the PXA270 run up to 520MHz only in turbo mode?(My
> CPU is PXA270C5C520)
>



Re: How to make pxa270 run in 520MHz? by Steve

Steve
Tue Dec 26 11:16:34 CST 2006

You should make sure the CPUs you have are rated for 520Mhz. While
"overclocking" is sometimes possible, it's not always going to work and our
experiments have shown it may appear to work fine at first but fall over at
some later point.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: How to make pxa270 run in 520MHz? by Javier

Javier
Fri Jan 19 04:20:23 CST 2007

Hi Steve,
the overclocking seems to work for us.
You say the pxa fall over at some later point.
Define later point? You mean days, months, years?
Thank you for your answer.
Javier


On Tue, 26 Dec 2006 18:16:34 +0100, Steve Maillet (eMVP)
<nospam1@EntelechyConsulting.com> wrote:

> You should make sure the CPUs you have are rated for 520Mhz. While
> "overclocking" is sometimes possible, it's not always going to work and
> our
> experiments have shown it may appear to work fine at first but fall over
> at
> some later point.
>



--
Javier Grijalba
www.positivesystems.com
Touch Panel PC systems
JGrijalba at Positivesystems dot com

Re: How to make pxa270 run in 520MHz? by Steve

Steve
Fri Jan 19 10:07:39 CST 2007

>the overclocking seems to work for us.
>You say the pxa fall over at some later point.
>Define later point? You mean days, months, years?
Any or all of the above. For us it was more like weeks to months. This will
be aggravated by more extreme "industrial" or "military" temp ranges.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com