On fx2lp, How to change CLKOUT Frequency

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
siac_2560096
Level 1
Level 1
First reply posted First question asked First like given

Dear Sir/Madam,

// CPUCS = 0x02; //12MHz operation , CPUCS[4:3] = 10.//  0000 0010   // Not Working

//CPUCS = 0x0A; //24MHz operation , CPUCS[4:3] = 10.//  0000 1010    // Not Working

  CPUCS = 0x12; //48MHz operation , CPUCS[4:3] = 10.//  0001 0010     // Working

  IFCONFIG = 0x43; // Slave FIFO mode of FX2LP 0100 0011

In my requirement  24MHZ Freq. from CLKOUT Pin

0 Likes
1 Solution

Hello,

You can test using any of the firmware examples in the FX2LP DVK at the path- <Install Directory>\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Firmware.

Best Regards,

Sananya

View solution in original post

0 Likes
8 Replies
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Please attach the firmware again as the attachment seems to be damaged. Could you also attach the screenshot of the measured CLKOUT frequency?

Best Regards,

Sananya

0 Likes

ok.jpg

please check with Keil 5 mam

0 Likes

Hello,

Please program the device with the firmware containing the new CPUCS settings and check the clock frequency on the CLKOUT pin. Please attach a screenshot of the same and also the complete firmware which you attached previously.

Best Regards,

Sananya

0 Likes

48Mhz.bmp

on Firmware CPUCS = 0x12;  => CLKOUT 48.003MHZ

24Mhz.bmp

on Firmware CPUCS = 0x0A;  => No Signal From  CLKOUT  PIN

12MHZ.bmp

on Firmware  CPUCS = 0x02;  => No Signal From  CLKOUT  PIN

0 Likes

Hello,

Please attach your complete firmware for us to check. Even for 48MHz, it doesnt seem to be a proper clock signal.

Best Regards,

Sananya

0 Likes

Hello Mam,

                Can you send working sample firmware for CLKOUT (48Mhz, 24Mhz, 12Mhz) FX2LP

0 Likes

mam please response me

0 Likes

Hello,

You can test using any of the firmware examples in the FX2LP DVK at the path- <Install Directory>\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Firmware.

Best Regards,

Sananya

0 Likes