////////////////////////////////////////////////////////////
//
//	FILE:           MPC82_SPI_Demo_Readme.Txt
//	AUTHOR:         Neo (Hsin-Chih Lin)
//	E-Mail:		NeoLin@megawin.com.tw
//	COPYRIGHT:      (c) Megawin Technology Co., Ltd.
//	CREATED:        2007.10.04
//	PURPOSE:        Demo SPI Document
//	Description:
//              Input : 11.0592MHz clock to 8051.
//              Detail: MPC82_SPI_Demo_Board.jpg
//
////////////////////////////////////////////////////////////

This demo need use two Megawin MCU:
One is Master device, another is Slave.
Demo step:
1:Master send 16 bytes data to Slave by SPI.

  +---------------+ 16 bytes +--------------+
  | Master Device |---------+| Slave Device |
  +---------------+          +--------------+

2:Slave send back 16 bytes data to Master by SPI.

  +---------------+ 16 bytes +--------------+
  | Master Device |+---------| Slave Device |
  +---------------+          +--------------+


PS:If you use Keil C51 to complier assembly code you need to do this

Menu bar -> Flash -> Configure Flash Tools
Change to A51 option and you can see "Special Function Registers"
then disable "Define 8051 SFR Names"

If you have any problem ( can't understand or can't run this code )
or I have any mistake in this Document please send E-Mail let me know.Thx.
