9.4.2 Application example: SPI slave (ATMEGA8)
Located in the folder "Experiments \ B_SPI_Slave" folder in the documentation CD.
This program is for ATMEGA8 (slave) microcontroller. This program is the default firmware for
the ATMEGA8 (slave) microcontroller. This program demonstrates SPI communication between
master (ATMEGA2560) and slave (ATMEGA8) microcontroller. LCD displays analog values of
the IR Proximity sensors 6, 7, 8.
Note:
1. Make sure that in the configuration options following settings are done for proper operation of
the code
Microcontroller: atmega8
Frequency: 8000000
Optimization: -O0
(For more information read section: Selecting proper optimization options below figure
2.22 in the software manual)
© NEX Robotics Pvt. Ltd. and ERTS Lab IIT Bombay, INDIA
Fire Bird V ATMEGA2560 Software Manual
118
Need help?
Do you have a question about the Fire Bird V ATMEGA2560 and is the answer not in the manual?