	README CAN XC878C
       ===================

#####################################################################################################
Example Ex1
Name: LoopBack
Desc: Transmits ADC result node 0 >> node 1, Receives on node 1 and prints to P3 
      no interrupt, polling of RXPND
	
1. Setup ADC for
	-	parallel source 
	-	autoscan enabled ch7, res reg 0
	-       >> cont. conv. ch7 

2. Setup MultiCAN for
	-	Node 0 / Node 1 with 100 kBaud  (default) - setup for LOOPBACK-Mode
	-	2 Message objects ( 0 and 1 ) 
	-	Message object 0 / ID0 / transmit object --> 1 data byte ( ADC-result to   NODE 1 )
	- 	Message object 1 / ID0 / receive  object --> 1 data byte ( ADC-result from NODE 0 )

3. IO	
	- 	P3 on output		
#####################################################################################################

#####################################################################################################
Example Ex2
Name: DataFrame
Desc: SK1 sends its ADC value to SK2 and prints received value from SK2 to P3
      SK2 sends its ADC value to SK1 and prints received value from SK2 to P3
	
1. Setup ADC for
	-	parallel source 
	-	autoscan enabled ch7, res reg 0
	-       >> cont. conv. ch7 

2a Setup MultiCAN for SK1
	-	Node 0 with 500 kBaud 
	-	2 Message objects ( 0 and 1 ) 
	-	Message object 0 / ID 0x000 / transmit object 
	-	Message object 1 / ID 0x001 / receive  object
	- 	XINTR5INT ISR - for message object 0 - transmit object
	-	XINTR6INT ISR - for message object 1 - receive object

2b Setup MultiCAN for SK2
	-	Node 0 with 500 kBaud 
	-	2 Message objects ( 0 and 1 ) 
	-	Message object 0 / ID 0x000 / receive  object
	-	Message object 1 / ID 0x001 / transmit object 
	- 	XINTR5INT ISR - for message object 0 - receive object
	-	XINTR6INT ISR - for message object 1 - transmit object	

3. IO	
	- 	P3 on output
#####################################################################################################

#####################################################################################################
Example Ex3
Name: RemoteFrame
Desc: SK1 sends a remote request to SK2 and prints received value to P3
      SK2 sends a remote request to SK1 and prints received value to P3
	
1. Setup ADC for
	-	parallel source 
	-	autoscan enabled ch7, res reg 0
	-       >> cont. conv. ch7 

2a Setup MultiCAN for SK1
	-	Node 0 with 500 kBaud 
	-	2 Message objects ( 0 and 1 ) 
	-	Message object 0 / ID 0x000 / remote object 
	-	Message object 1 / ID 0x001 / remote data
	- 	T0INT - for sending remote request and reading ADC 
	- 	XINTR5INT ISR - handle MO00 
	-	XINTR6INT ISR - handle MO01

2b Setup MultiCAN for SK2
	-	Node 0 with 500 kBaud 
	-	2 Message objects ( 0 and 1 ) 
	-	Message object 1 / ID 0x001 / remote object 
	-	Message object 0 / ID 0x000 / remote data
	- 	T0INT - for sending remote request and reading ADC 
	- 	XINTR5INT ISR - handle MO00 
	-	XINTR6INT ISR - handle MO01

3. IO	
	- 	P3 on output
#####################################################################################################

#####################################################################################################
Example Ex4a
Name: Gateway
Desc: SK3 acts as a bridge between node 0 and node 1 (Gateway)
	

1. Setup MultiCAN for SK1
	-	Node 0 and node 1 with 500 kBaud
	-	4 Message objects ( 0,1 and 10,11 ) without interrupts
	-	Message object 0  / ID0 / receive  object (GW-source)      
	- 	Message object 10 / ID0 / transmit object (GW-destination) 
	-	Message object 1  / ID1 / receive  object (GW-source)      
	- 	Message object 11 / ID1 / transmit object (GW-destination)
	- 	no interrupt / no sw handling of CAN necessary

3. IO	
	- 	P3 on output
#####################################################################################################		

#####################################################################################################
Example Ex4b
Name: Gateway
Desc: SK3 acts as a bridge between node 0 and node 1 (Gateway)
	

1. Setup MultiCAN for SK1
	-	Node 0 and node 1 with 500 kBaud
	-	4 Message objects ( 0,1 and 10,11 ) without interrupts
	-	Message object 0  / ID0 / receive  object (GW-destination)      
	- 	Message object 10 / ID0 / transmit object (GW-source) 
	-	Message object 1  / ID1 / receive  object (GW-destination)      
	- 	Message object 11 / ID1 / transmit object (GW-source)
	- 	no interrupt / no sw handling of CAN necessary
	-	NOTE: manual configuration / Dave problem???

3. IO	
	- 	P3 on output
#####################################################################################################	

#####################################################################################################
Example Ex5
Name: CAN SMS 
Desc: FIFO example --- send and receive SMS from other PC >> SKIT >> CAN
#####################################################################################################	

