If hardware I2C in PBP wasn't tough enough already, I need to write a master/slave routine that can handle 10-bit addresses. Has anyone in this group accomplished this?
If hardware I2C in PBP wasn't tough enough already, I need to write a master/slave routine that can handle 10-bit addresses. Has anyone in this group accomplished this?
Charles Linquist
And I should add that the receive side (at least) must be interrupt-driven and run in an 18F part.
Charles Linquist
I have not tried this, just a thought...
Would it work to set the address up as WORD size and and pull out the bits you need as an array and send those parts? Probably not... the expression thing would be a problem???
Dave
Always wear safety glasses while programming.
uChip talks about 10 bit addresses in the 18F8722 datasheet. Time to roll up my sleeves and try to make it work.
Charles Linquist
Any luck so far? I'm going to have to tackle this someday too...
Don't let the magic smoke out of an electronic component. It won't work correctly after that!
Not yet - right now, I'm cheating, I solved the problem temporarily by hiring a guy to write a 10-bit master/slave port in an Altera chip. That chip is driven by an ARM9 processor running Linux.
Are you doing IPMI stuff?
Charles Linquist
Bookmarks