7 Demo program
The file “atmel_led_drvr_demo.c” contains the source for a demo program for Atmel ATtiny40 AVR with SPI interface to connect to Atmel MSL2160 Evaluation board. The program accesses a MSL2160 slave and writes ‘0xAA’ to its register at ‘0x00’ address and reads the register back. This operation is done in an infinite loop.
Hardware Requirements
The demo setup needs the following components:
- ATtiny40 AVR with any development kit (like the Atmel STK®600) which exposes the MCU pins
- MSL2160 Evaluation board with LED load board and power supply
- 33Ω resistor
