SAMV71 Xplained Ultra Software Package 1.4

TWI EEPROM Example

Purpose

This basic example program demonstrates how to use the TWI peripheral to access an external serial EEPROM chip.

Requirements

This package can be used with SAM V71 Xplained Ultra board,

Description

The code can be roughly broken down as follows:

Usage

  1. Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Microcontrollers.pdf

On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:

Start the application.

  1. In the terminal window, the following text should appear:
         -- TWI EEPROM Example xxx --
         -- SAMxxxxx-xx
         -- Compiled: xxx xx xxxx xx:xx:xx --
    
  2. The following traces detail operations on the EEPROM, displaying success or error messages depending on the results of the commands.

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines