You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm currently working with the Microchip mec172xevb_assy6906 board running as an I2C Slave. For this project, I have created a device tree overlay.
The virtual EEPROM
eeprom_i2c_slave
is linked to the I2C controller 'i2c_smb_0', that is configured as I2C target.The interrupt is initialized with
and enabled
irq_enable(DT_IRQ_BY_NAME(DT_NODELABEL(eeprom_i2c_slave), i_veeprom, irq));
I can read the virtual EEPROM to get the received data, but the ISR handler (my_isr_handler) routine is never invoked.
Did I forget something here to get an interrupt when the virtual EEPROM receives data?
Or does anyone have experience with implementing an interrupt triggered I2C slave in Zephyr?
The virtual EEPROM is not mandatory.
Thanks for help!
Beta Was this translation helpful? Give feedback.
All reactions