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?
Printable View
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?
And I should add that the receive side (at least) must be interrupt-driven and run in an 18F part.
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???
uChip talks about 10 bit addresses in the 18F8722 datasheet. Time to roll up my sleeves and try to make it work.
Any luck so far? I'm going to have to tackle this someday too...
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?