LX2160ARDB platform clk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LX2160ARDB platform clk

ソリューションへジャンプ
2,423件の閲覧回数
m_kei
Contributor III

We are developing a UART driver for LX2160ARDB_rev2.

I am using "platform clk" to calculate the baud rate, but I don't know how to get it on SW.
It is known from the U-boot source code that the platform clk is a bus clock, and it is known from RCW and U-boot that the bus clock is 750 MHz.

Based on this value, you can pre-calculate and hold it as a constant, but it is smarter to get it from a register and calculate it.

However, there is no mention of platform clk in the "QorIQ LX2160A Reference Manual Supports LX2120A and LX2080A", so I don't know where I can get it from.

Is it easy to get a platform clk, or even a bus clock?

0 件の賞賛
返信
1 解決策
2,418件の閲覧回数
ufedor
NXP Employee
NXP Employee

Refer to the QorIQ LX2160A Reference Manual, 4.10 IP Logic Clock Distribution and Configuration to see:

1) Platform PLL is controlled by RCW[SYS_PLL_RAT]

2) Platform clock is Platform PLL / 2

3) UART is clocked by Platform clock / 4.

Refer to the RM, 9.3.1.13 Reset Configuration Word Status Register 1 (RCWSR1) to obtain the SYS_PLL_RAT value.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
2,419件の閲覧回数
ufedor
NXP Employee
NXP Employee

Refer to the QorIQ LX2160A Reference Manual, 4.10 IP Logic Clock Distribution and Configuration to see:

1) Platform PLL is controlled by RCW[SYS_PLL_RAT]

2) Platform clock is Platform PLL / 2

3) UART is clocked by Platform clock / 4.

Refer to the RM, 9.3.1.13 Reset Configuration Word Status Register 1 (RCWSR1) to obtain the SYS_PLL_RAT value.

0 件の賞賛
返信