cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

New Contributor II

Hi,

I notived that the I2C speed of my I2C transactions are not 100KHZ but rather 85KHZ. 

When 400KHZ mode is selected,  speed is also lower than 400KHZ (less than 300 ...).

In my code, i set the CPU clock to 48MHZ.

// Configure CPU Clocks
// 48 MHZ // CLK_OUT ON (for Debug)
CPUCS = (bmCLKOE | bmCLKSPD1) & ~bmCLKSPD0;
SYNCDELAY;

Any idea why such low I2C frequency ? 

Do i need to configure something in the code ? I used the FX2LP template ECLIPSE project for my Firmware.

Thanks.

 

0 Likes
Reply
1 Reply
Moderator
Moderator

Hi, 

Do I need to configure something in the code ?

>> Configuration looks fine. No additional changes required.

It is expected that I2C of FX2LP18 runs at a lesser frequency than configured. 

Best regards,
Pranava
0 Likes
Reply