#define CANIDAC_CAN0 IDAM0 /* 4 x 16-bit filters */
#define CANIDAR0_CAN0 0x10
#define CANIDAR1_CAN0 0
#define CANIDMR0_CAN0 0xFF /* mask all bits */
#define CANIDMR1_CAN0 0xFF /* mask all bits */
?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" />
#define CANIDAR2_CAN0 0x10
#define CANIDAR3_CAN0 0
#define CANIDMR2_CAN0 0xFF /* mask all bits */
#define CANIDMR3_CAN0 0xFF /* mask all bits */
#define CANIDAR4_CAN0 0x10
#define CANIDAR5_CAN0 0
#define CANIDMR4_CAN0 0xFF /* mask all bits */
#define CANIDMR5_CAN0 0xFF /* mask all bits */
#define CANIDAR6_CAN0 0x10
#define CANIDAR7_CAN0 0
#define CANIDMR6_CAN0 0xFF /* mask all bits */
#define CANIDMR7_CAN0 0xFF /* mask all bits */
but when i run this configuration in can driver using cw4.5 it is not properly working.....if there s any mistake plzzz find it out for me???i configuired as a loop back mode....
:AN3145 XGATE Library: Using the Freescale XGATE Software Library | Application Notes | FREESCALE | 142 | 0 | 2/28/2006 | |
AN3333 XGATE Library: Signal Gateway. Implementing CAN and LIN Signal Level Gateway | Application Notes | FREESCALE | 575 | 0 | 11/7/2006 | |
AN2726 MSCAN Driver for MC9S12XDP512 Using XGATE | Application Notes | FREESCALE | 226 | 1 | 4/21/2006 |
Hi Alban,
I am using an MC912G48 and, unfortunately, it does not have any XGATE co-processor. Do you have a driver version for this target? I am googling for it but I have not found yet anything!!!
Any suggestion would be appreciated!!!
Thank you in advance,
Best regards,
Andrea Mocci
#define CANIDAC_CAN0 IDAM0 /* 4 x 16-bit filters */#define CANIDAR0_CAN0 0x0010 /* set 16 bit acceptance register */#define CANIDAR1_CAN0 0 #define CANIDMR0_CAN0 0xFFFFF800 /* compare only first 11-bits as per CAN spec */#define CANIDMR1_CAN0 0xFFFFFFFF /* mask all bits */