KL15: Missing [PLLFLLSEL] bits in SIM_SOPT2?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

KL15: Missing [PLLFLLSEL] bits in SIM_SOPT2?

跳至解决方案
1,112 次查看
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 解答
770 次查看
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 回复数
770 次查看
Safwat
Contributor III

Thanks Paul. Good to know its there :smileyhappy:

0 项奖励
回复
771 次查看
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 项奖励
回复
770 次查看
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 项奖励
回复