KL15: Missing [PLLFLLSEL] bits in SIM_SOPT2?

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

KL15: Missing [PLLFLLSEL] bits in SIM_SOPT2?

Jump to solution
829 Views
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!

Labels (1)
Tags (1)
0 Kudos
1 Solution
487 Views
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

View solution in original post

0 Kudos
3 Replies
487 Views
Safwat
Contributor III

Thanks Paul. Good to know its there :smileyhappy:

0 Kudos
488 Views
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 Kudos
487 Views
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 Kudos