CW4.5 & 9S12XDT512 - Can driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW4.5 & 9S12XDT512 - Can driver

1,123 Views
candriver
Contributor I
Dear Friends
 
I am working on Demo9s12xdt512 EVB with code warrior 4.5.i am using can driver which is already available.in can driver there s one file xgCAN.h.there s  some register setting  for hardware initialization part.it selects 4 x16 bit filtet bt it selects only dar0-1 and mr0-mr1 filter.i am little bit confused wht to do this.
 
#define CANIDAC_CAN0  IDAM0      /* 4 x 16-bit filters */ 
 #define CANIDAR0_CAN0 0
#define CANIDAR1_CAN0 0
#define CANIDMR0_CAN0 0xFFFFFFFF /* mask all bits */
#define CANIDMR1_CAN0 0xFFFFFFFF.
 
and suppose i want to choose Id 0x700 then what is the value of IDRO-3 and IDMR0-3 pls help me out...i m new for this field.
 
--
Alban Edit: CW version in subject line

Message Edited by Alban on 2007-03-26 11:23 AM

Labels (1)
Tags (1)
0 Kudos
1 Reply

272 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
Do you use Processor Expert ?
Can you please provide us the file ?
 
Pascal