Invalid rcw SYSCLK_FREQ value?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Invalid rcw SYSCLK_FREQ value?

Jump to solution
1,123 Views
zalbassam
Contributor I

Hi,

Im confused about the SYSCLK_FREQ rcw value on the LS1012ARDB. The rcw source is QSPI as the PORSR1 register says.

The "RCW field description" section in the LS1012 RM says the SYSCLK_FREQ value must be 0x258, so that the system clock is 100Mhz (0x258 * 166.667). However on my board the rcw SYSCLK_FREQ shows as 0x96. The RCW is never modified since the board was received.

Now my question, is the value 0x96 for SYSCLK_FREQ on the LS1012A valid? does that mean the SYSCLK is 0x96 * 166.667 = 25 Mhz?

Here is the RCW dump from uboot on my LS1012ARDB:

Clock Configuration:
CPU0(A53):800 MHz
Bus: 250 MHz DDR: 1000 MT/s
Reset Configuration Word (RCW):
00000000: 08000008 00000000 00000000 00000000
00000010: 35080000 c000000c 40000000 00001800
00000020: 00000000 00000000 00000000 000147f1
00000030: 00000000 18c2a120 00000096 00000000

Thanks,

Labels (1)
Tags (2)
0 Kudos
1 Solution
928 Views
ufedor
NXP Employee
NXP Employee

From the provided log:
       00000000: 08000008 00000000 00000000 00000000
       00000010: 35080000 c000000c 40000000 00001800

       00000020: 00000000 00000000 00000000 000147f1

       00000030: 00000000 18c2a120 00000096 00000000
The RCW[SYSCLK_FREQ] (10 bits) is contained in two words:

0000009600000000
8 bits in this word2 bits in this word

Binary representation:

8bits2bits
1001_011000

 
Complete 10-bit field: 10_0101_1000

View solution in original post

2 Replies
929 Views
ufedor
NXP Employee
NXP Employee

From the provided log:
       00000000: 08000008 00000000 00000000 00000000
       00000010: 35080000 c000000c 40000000 00001800

       00000020: 00000000 00000000 00000000 000147f1

       00000030: 00000000 18c2a120 00000096 00000000
The RCW[SYSCLK_FREQ] (10 bits) is contained in two words:

0000009600000000
8 bits in this word2 bits in this word

Binary representation:

8bits2bits
1001_011000

 
Complete 10-bit field: 10_0101_1000

928 Views
zalbassam
Contributor I

Now it makes sense. Thanks for the help!

0 Kudos