Skip to content

Art-007/MicroContoller-Art-007--implementations-of-I2C-bus-and-use-of-external-interrupts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

MicroContoller-Art-007--implementations-of-I2C-bus-and-use-of-external-interrupts

This project dealt with the concept of the I2C bus using the hardware technique whereas all the data bit transmissions are performed by internal hardware inside the microcontroller. This method allows faster data transmissions but the two SCL and SDA pins must be dedicated. In addition, the PIC 18 microcontroller that we are using merges the two I2C and SPI functions into the same pins thus allowing the use of only one function and not both simultaneously. If we want to use both SPI and I2C, we will need to switch from the use of hardware I2C to software I2C. This new technique will use the concept of software bit banging to perform all the data bit transmission. For sure this technique will not have the same speed performance as the hardware I2c but it does allow the microcontroller to communicate with any I2C device. Since bit banging an be applied to any pin, software I2C also allows the flexibility to choose any GPIO pin for the implementation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published