Hi, Please help to download 'PC based application SPISerial.exe' for understanding of example SPI-EEPROM program.
I could n't understand the given example program for ADuC7060 micro....please find the code snippet below for your reference....
This SPI Master example acts as interface between the PC based application SPISerial.exe
and the Slave EPROM.
This application accepts commands via the serial port from the PC, converts these to SPI
and passes them to the Slave/EPROM device.
Using the command window based executable, SPISerial.exe, data bytes
are sent serially to the Master via UART. Depending on whether the application sent
a write or read command, the Master sends the appropriate command to the Slave via
SPI channel. If a slave read is requested, the Master will request the data
from the SPIserial.exe specified address and return the data to the PC.