This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PLL problem of LF2401A

I use 10Mhz crystal for the LF2401A.

 I wrote simple test program and i watch the XF pin frequency.

TEST_PROG:

              LDP #SCSR1>>7

              SPLK #0C4H,SCSR1  ; PLL 4

              SPLK #0AH,SCSR2

              SPLK #01H,SCSR4

 

LOOP: SETC XF

             NOP

             NOP

             CLRC XF

             B   LOOP

 

I see 800nanosec clock pulses  on the XF pin. But I must see 200nsec clock. Because i set the pll for 4.

(Total loop commands need 8 cpu clock, 10Mhz*4/8=5Mhz =>200nsec)

I can not see any effect If i change the  #0C4H value of SPLK #0C4H,SCSR1

I try 0c4, 02C4H, 06C4H.

SCSR1 address is 7018H.

Why pll not working?

( I use zero wait state for codes )