BobaMosfet
- Joined Jul 1, 2009
- 2,211
I'm not giving you negative thoughts. I'm trying to get you to align your grasp with your reach. So you succeed. By picking an MCU to work with, you start moving things in your favor because then you give everybody trying to help you, the same reference to work from- testable working examples, etc. Concrete things that can be described and shown.@BobaMosfet I appreciated your advice but what's wrong with current approach. I am new boy in embedded world. Things are not easy for me but I am trying my best. I have learned so much in this thread. And I am still trying to understand some things that can be learned myself by spending a some time. I wanted to come back by figuring out some facts by myself. And i am doing thats why I am taking time
you know why I am fan of @JohnInTX because look at his passion He helped me a lot. And if I made a mistake on somewhere , he never gives negative thoughts. he is motivating me to keep working
God Bless JohnInTX for his gracious and benevolent help, the man is a Saint- but when he steps away and the training wheels are gone, you're still not going to be able to write it because every MCU is different and you're going to wonder how you actually do an ACK or NAK on the i2c bus. Some MCUs don't even have i2c, so you'd have to do it all yourself? But until you pick an MCU, we don't know which one to provide examples for.
This is sounding like your very first project in embedded, and if it is, this is way over your head.
Help us help you. Please.
Seriously. On an ATMEGA MCU, you can do non-multi-master i2c/twi in just 3 functions. Most people never need multi-master (but it's easy to add).




