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: AustraliaPosts: 205 |
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) Regards Gerard (vk3cg/vk3grs) |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
I2C comms between herds. Nice work Gerard. Cheers Don... https://www.dontronics.com |
||||
seco61 Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 205 |
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 ZealandPosts: 711 |
Awesome thanks Gerard Time to get my Maximites to say "Hello" to each other John |
||||
Print this page |