The application demonstrates how to access AT24MACXX EEPROM component.
This package can be used with SAM evaluation kits.
Upon startup, the program configures PIOs for console UART, LEDs and TWIHS connected to AT24MACXX on board. Then it initializes the AT24MACXX component. After initializing it, the example sends test pattern to the AT24MACXX component. When the sending is complete, AT24MACXX API reads the memory and saves the content in the reception buffer. Then the program compares the content received with the test pattern sent before and prints the comparison result. The corresponding LED is turned on.
This software was written for the GNU GCC and IAR EWARM. Other compilers may or may not work.
For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/