I2C Lesson 4. I2C Module Implementation and Demo

preview_player
Показать описание
In this video, I discuss the implementation of the I2C driver. This includes use of the IDE, the overall software structure, and looking at some code highlights. This is followed by a demo, using a logic analyzer.

Back to the playlist for this course:
Рекомендации по теме
Комментарии
Автор

Hi Gene,
I've noticed you enable the error interrupts at line 716 in i2c.c. Why do you enable them at this specific location? And shouldn't they be disabled again at some point (eg start of a new transmission)? The reason I'm asking this is because I have a project with an I2C bus which is in a noisy environment. I get some ARLO or BUS errors every now and then and I'm looking for the correct way to handle these.

cjlvossen
visit shbcf.ru