i2c thing

Info and Discussion about the ESC32 hardware and software

i2c thing

Postby hyonlim » Tue Apr 23, 2013 1:03 am

Hi.
Have anyone tried to add i2c capability to ESC32?
I know some guys are trying CAN capability, but, i2c is good because it does not need transceiver anyway.
I'll try to implement i2c, but before I'm doing this, it would be good to know if someone already did this.
hyonlim
 
Posts: 15
Joined: Wed Apr 17, 2013 12:56 pm

Re: i2c thing

Postby Kisssys » Tue Apr 23, 2013 3:03 am

Their was some code written but it had problems and was never finished. Maybe Jussi still has it.
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: i2c thing

Postby hyonlim » Tue Apr 23, 2013 4:12 am

How can I get the code? I can debug.
hyonlim
 
Posts: 15
Joined: Wed Apr 17, 2013 12:56 pm

Re: i2c thing

Postby kinderkram » Tue Apr 23, 2013 8:01 am

I only can provide the hex file I tested.
Attachments
esc32v2-I2C.zip
I2C version of ESC32 firmware
(49.34 KiB) Downloaded 196 times
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: i2c thing

Postby hyonlim » Tue Apr 23, 2013 9:39 am

So, why do you provide only hex file?
Kind of weird thing.
hyonlim
 
Posts: 15
Joined: Wed Apr 17, 2013 12:56 pm

Re: i2c thing

Postby kinderkram » Tue Apr 23, 2013 12:15 pm

hyonlim wrote:So, why do you provide only hex file?
Kind of weird thing.

Bc I don't have the source atm.
Will look for it later when I have some time to look for it...
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: i2c thing

Postby hyonlim » Tue Apr 23, 2013 2:57 pm

Thanks. I would be great.
hyonlim
 
Posts: 15
Joined: Wed Apr 17, 2013 12:56 pm

Re: i2c thing

Postby kinderkram » Tue Apr 23, 2013 10:29 pm

Here you are...
Attachments
ESC32-source-code-I2C.zip
(241.09 KiB) Downloaded 210 times
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: i2c thing

Postby Andrej » Wed Apr 24, 2013 6:39 pm

I ran away from MK because I2C :lol:
Andrej
 
Posts: 79
Joined: Fri Mar 22, 2013 5:10 pm

Re: i2c thing

Postby JussiH » Thu Apr 25, 2013 10:15 am

Just a note on this.

The code that victor wrote is for one of the first publicly released ESC firmwares. Lots of changes has happened since - so it would be necessary to start with the current trunk and go from there.

Thanks for looking into this.
JussiH
 
Posts: 2103
Joined: Thu Jun 21, 2012 9:25 pm

Next

Return to ESC32

Who is online

Users browsing this forum: No registered users and 1 guest

cron