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.
This repository contains examples of bare metal source code for I2C. The code examples were developed for AVR128DA48.
Notifications You must be signed in to change notification settings
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go to fileThis repository provides an Atmel Studio solution with a bare metal code example for a basic I2C communication. This example demonstrates the basic functionality of the TWI peripheral with a basic I2C communication. The device is connected to a digital potentiometer which communicates through an I2C interface. The device sends read commands to the I2C address of the potentiometer. Two read operations are required every iteration since the potentiometer has a 12 bit resolution.
The AVR128DA48 Curiosity Nano Development Board is used as test platform
The following configurations must be made for this project:
This example represents a basic functionality of the TWI peripheral for a basic I2C communication. The device reads the value from a digital potentiometer which communicates through an I2C interface.
This repository contains examples of bare metal source code for I2C. The code examples were developed for AVR128DA48.