High Clock Speed I2C

This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc.

Moderators: 99jonathan, roger, imaqine

High Clock Speed I2C

Postby mightor » Mon Jun 14, 2010 9:17 pm

Hey peeps,

Does Lejos support a higher (30KHz) clock speed for its I2C sensors? If not, are there any plans to do so? Having a higher speed can be really advantageous when using sensors like the NXTCamV3 with a custom firmware that requires larger data transfers.

- Xander
| My Blog: I'd Rather Be Building Robots
| RobotC 3rd Party Driver Suite: [Project Page]
User avatar
mightor
Novice
 
Posts: 35
Joined: Mon Mar 09, 2009 8:25 pm

Postby gloomyandy » Tue Jun 15, 2010 7:23 am

Hi,
Not at the moment. I know Robot-C lets you go faster to they let you go that high? Also when you say 30Khz is that the i2c clock frequency? Do you know if all of the sensors will work at that speed? Do they allow each port to run at a different speed?

Andy
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3944
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Postby mightor » Tue Jun 15, 2010 7:52 am

Hiya Andy,

Also when you say 30Khz is that the i2c clock frequency?

That's the clock frequency of the high speed I2C in ROBOTC. ~10KHz is the standard speed.

Do you know if all of the sensors will work at that speed?

Not all sensors. Most HT sensors are only certified at slow I2C speeds but quite a number of them will also work at the higher speed. All of the Mindsensors ones work fine at 30KHz. The US sensor doesn't work at all at 30KHz.

Do they allow each port to run at a different speed?

Yeah, you can configure each sensor port at different speeds.

Regards,
Xander
| My Blog: I'd Rather Be Building Robots
| RobotC 3rd Party Driver Suite: [Project Page]
User avatar
mightor
Novice
 
Posts: 35
Joined: Mon Mar 09, 2009 8:25 pm


Return to NXJ Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

more stuff