News:

;) This forum is the property of Proton software developers

Main Menu

Really lazy software slave spi. Is it possible?

Started by TimB, Jul 21, 2021, 10:03 AM

Previous topic - Next topic

TimB


I want to implement and i2c slave. Really, I should do it in hardware using interrupts. However, I'm lazy

Can I have, say, an interrupt on change pin to trigger an interrupt then using the i2c routines either as an included or the built-in ones to take over and act as a slave?

No complex i2c hardware settings needed...

Tim

John Drew

Tim,
Just to get you started I wrote up the essentials here:
"Proton8 threads/Buffer for I2C"
I'll send the fuses tomorrow.
John