KL15: Missing [PLLFLLSEL] bits in SIM_SOPT2?

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

KL15: Missing [PLLFLLSEL] bits in SIM_SOPT2?

ソリューションへジャンプ
852件の閲覧回数
Safwat
Contributor III

I am trying to route the output of the PLL to clock the UART0. In the ref manual, chapter 5 page 117, clocking options for UART0 are shown as below:

UART CLock.png

But I could not find PLLFLLSEL bits in the SIM_SOPT2. The description of SIM_SOPT2 is shown as below (Section 12.2.3 page 186):

New Picture.bmp

Anyone know are these bits implemented for KL15 chips?

thanks!

ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
510件の閲覧回数
Paul_Tian
NXP Employee
NXP Employee

Hi, Safwat

This is a document issue. The bit 16 in register SIM_SOPT2 is PLLFLLSEL.

Hope my reply can help you.

Best Regards

Paul

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
510件の閲覧回数
Safwat
Contributor III

Thanks Paul. Good to know its there :smileyhappy:

0 件の賞賛
511件の閲覧回数
Paul_Tian
NXP Employee
NXP Employee

Hi, Safwat

This is a document issue. The bit 16 in register SIM_SOPT2 is PLLFLLSEL.

Hope my reply can help you.

Best Regards

Paul

0 件の賞賛
510件の閲覧回数
markosiponen
Contributor III

The SIM_SOPT2_PLLFLLSEL bit is also missing in Processor Expert generated file (IO_Map.h):

/* SOPT2 Bit Fields */

#define SIM_SOPT2_RTCCLKOUTSEL_MASK              0x10u

#define SIM_SOPT2_RTCCLKOUTSEL_SHIFT             4

#define SIM_SOPT2_CLKOUTSEL_MASK                 0xE0u

#define SIM_SOPT2_CLKOUTSEL_SHIFT                5

#define SIM_SOPT2_CLKOUTSEL(x)                   (((uint32_t)(((uint32_t)(x))<<SIM_SOPT2_CLKOUTSEL_SHIFT))&SIM_SOPT2_CLKOUTSEL_MASK)

#define SIM_SOPT2_TPMSRC_MASK                    0x3000000u

#define SIM_SOPT2_TPMSRC_SHIFT                   24

#define SIM_SOPT2_TPMSRC(x)                      (((uint32_t)(((uint32_t)(x))<<SIM_SOPT2_TPMSRC_SHIFT))&SIM_SOPT2_TPMSRC_MASK)

#define SIM_SOPT2_UART0SRC_MASK                  0xC000000u

#define SIM_SOPT2_UART0SRC_SHIFT                 26

#define SIM_SOPT2_UART0SRC(x)                    (((uint32_t)(((uint32_t)(x))<<SIM_SOPT2_UART0SRC_SHIFT))&SIM_SOPT2_UART0SRC_MASK)

/* SOPT4 Bit Fields */

0 件の賞賛