Go to Post Students learn from, are inspired by, and emulate their mentors. A team with a solid mentor base helps to create a productive, inspired, and ultimately successful group of students. - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 09-11-2014, 05:36
FTC5110 FTC5110 is offline
Registered User
FTC #5110 (Wingus & Dingus)
Team Role: Mentor
 
Join Date: Oct 2014
Rookie Year: 2009
Location: Auckland, New Zealand
Posts: 44
FTC5110 is a splendid one to beholdFTC5110 is a splendid one to beholdFTC5110 is a splendid one to beholdFTC5110 is a splendid one to beholdFTC5110 is a splendid one to beholdFTC5110 is a splendid one to behold
Re: How to use FTC hi-tech motor controllor on FRC

Best guess is your I2C clock is too fast and perhaps other timing issues. At a guess I'd say the I2C implementation on the HiTechnic controllers may well be software based and perhaps less able to handle higher clock frequencies or shorter setup times.

In the Arduino trace you can see the SDA change state right around the time SCL goes low. cRIO has SCL low before SDA changes state and then SCL high pretty soon afterwards. Granted it should be clocked on SCL going high so shouldn't make any difference but worth pointing out.

The NAK is because the I2C slave didn't respond. Arduino gets an ACK, cRIO gets a NAK (i.e. slave didn't hear you).

If the cRIO has some way to change I2C clock to 9600 which the NXT uses then perhaps it might work better however the asymetric clock and slightly delayed SDA setup might be fatal to HiTechnic controllers.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi