SI2C Slave how to ?
Moderators: David Barker, Jerry Messina
SI2C Slave how to ?
Hi,
Has anybody (tried or already) developed an SI2C slave mode driver for Swordfish?
Regards
Octal
Has anybody (tried or already) developed an SI2C slave mode driver for Swordfish?
Regards
Octal
Yes XOR, it's right.
The code by GABI is based on Microchip AN734 (very nice article) and is well done. But what I was looking for is a Software SI2C slave mode I think that I'll have to sacrify my MSSP port
Regards
Octal
PS. Anyway I'll transform GABI work to a SF module. I have just to check everything in regards to AN734a app note.
The code by GABI is based on Microchip AN734 (very nice article) and is well done. But what I was looking for is a Software SI2C slave mode I think that I'll have to sacrify my MSSP port
Regards
Octal
PS. Anyway I'll transform GABI work to a SF module. I have just to check everything in regards to AN734a app note.
Really buffered mode is the only sensible method.I would like to see a buffered SPI Slave mode in hardware
One thing I found to remember,
When the command comes in with the required read address you have to load the buffer with that data then before the next read comes in.
In my application I did not have the data yet and was waiting on it to come in from another source, you cannot stall things waiting on it.
Hi guys,
Sorry to resurrect a dead thread, but was there any further progress on this subject?
I require either a hardware or software I2C module and as usual I thought it wise to check the forums & wiki, and I found this thread.
I thought it would be prudent to ask before reinventing the wheel!
Regards,
Nathan
Sorry to resurrect a dead thread, but was there any further progress on this subject?
I require either a hardware or software I2C module and as usual I thought it wise to check the forums & wiki, and I found this thread.
I thought it would be prudent to ask before reinventing the wheel!
Regards,
Nathan
- blueroomelectronics
- Posts: 46
- Joined: Mon Apr 23, 2007 3:48 pm
- Location: Toronto
- Contact:
Has it been posted somewhere?octal wrote:it may be helpfull...
Since the time I posted this thread first, I wrote a whole module for I2C Slave. I have a fully working I2C Slave module (hardware module) for Swordfish (using interrupts). I'm in a move. I'll post it once I got my sources under hand.
Regards
octal