- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi am looking for any example in Power SDK or Host SDK of implemnet I2C SCB block as I2C slave usage byte level APIs
all examples which i found or community support refer me to is master
could you please refere me to slave i2c scb block in usage byte level APIs it will help me reduce size of my application
Solved! Go to Solution.
- Tags:
- cypd3175
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Currently, we dont have such an example and to access the data as I2C slave byte by byte, you will have to implement a custom ISR that would detect the bus events properly and do a read from FIFO or write to FIFO based on bus direction. You could refer to the I2C_INT.c file and implementation in the I2C interrupt for the SCB under Generated Source for reference.
Best Regards,
Sananya