Guest
|
CAN Bus 11 bit addressing |
Posted: Wed Dec 09, 2009 7:08 pm |
|
|
I am using a PIC18F4580 to read CAN packets from a motec M400 ECU.
I don't have the code with me at the moment, but I seem to be having trouble reading any address from the ECU that is below 2048. So looks like I can only read 29 bit addressing. I know you can store an 11 bit value in a 29 bit space. But is there a way to specify that you only want to read an 11 bit address, just like you can specify if an address is basic or extended when using
Code: | can_putd(int32 id, int * data, int len,int priority, int1 ext, int1 rtr); |
where int1 ext defines 11 or 29 bit.
Many thanks
Juan |
|