Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:58 23 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : I2C implementation update

Author Message
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 04:07am 23 Jul 2011
Copy link to clipboard 
Print this post

Hi All.

I have been working on my I2C implementation to provide a more complete set of capabilities.

The implementation now includes support for 10 bit addressing & slave mode (with address masking and general call). With slave mode capabilities you can have 2 Maximite's communicating with each other (and other devices of course).

The firmware can be found here: Download Maximite.hex

Documentation for the commands can be downloaded here: I2C Documentation

The firmware includes the enhancements Geoff released in 4.2a (including EDIT).

Here are some sample MMBasic programs to demonstrate the new slave mode commands by having 2 maximites communicating with each other: Master Slave

I have also slightly "tweaked" the earlier MMBasic programs I posted to work with the new firmware (see earlier Another I2C implementation post for more details): TftA without interrupt TftA with interrupt

Please use and if you find any bugs let me know!

Kind regards

Gerard (vk3cg/vk3grs)Edited by seco61 2011-07-24

Regards

Gerard (vk3cg/vk3grs)
 
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 06:47am 23 Jul 2011
Copy link to clipboard 
Print this post

  seco61 said   Hi All.

The firmware includes the enhancements Geoff released in 4.2a (including EDIT).

Here are some sample MMBasic programs to demonstrate the new slave mode commands by having 2 maximites communicating with each other: Master Slave

Gerard (vk3cg/vk3grs)


I2C comms between herds.
Nice work Gerard.

Cheers Don...
https://www.dontronics.com
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 06:53am 23 Jul 2011
Copy link to clipboard 
Print this post

Hi Don.

And you can enable slave mode on both and then either can initiate a conversation with the other(s).....

Regards

Gerard (vk3cg/vk3grs)

Regards

Gerard (vk3cg/vk3grs)
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 07:21am 23 Jul 2011
Copy link to clipboard 
Print this post

Awesome thanks Gerard
Time to get my Maximites to say "Hello" to each other

John
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024