Page 1 of 2
Expansion Port PinOuts
Posted: Fri Jan 24, 2014 2:35 pm
by shmed
Hi, having decided to take the plunge, I have an RCP waiting at home for me.
I want to explore the CAN-bus connectivity from my ECU to the Expansion port, but am not sure which pins I need to connect on the RJ45 expansion port.
From my ECU manual, here is the CAN-bus page:
So, which pins do I connect to get physical CAN connectivity?
Cheers
Paul
Posted: Fri Jan 24, 2014 2:40 pm
by shmed
Additionally,
Where in the software might I configure the data stream that will be coming in from the ECU?
Posted: Fri Jan 24, 2014 3:10 pm
by shmed
So, with a bit more digging, I see that the expansion port is SPI, so I can't just plug the two devices together.
Are the SPI pinouts available anywhere?
Posted: Fri Jan 24, 2014 3:16 pm
by shmed
Posted: Fri Jan 24, 2014 3:48 pm
by MichaelDrost
I have an RCP, an SPI Bus Pirate and a UTP cable I am willing to cut up. A fun project in itself, but anything I can get in terms of a head start is more than welcome!
I am assuming I will have to do some LUA SPI stuff, to get some electrons to "exit through the gift shop .."
Do I?
M.
PS Hello, Shmed, I have been looking at that particular piece of kit too, but since I have an Arduino and a Bus Pirate, I figured I already had the tools.
Posted: Fri Jan 24, 2014 7:37 pm
by brentp
Hi, This is what we will be releasing to enable CAN bus connectivity. Firmware in development now to support OBD2 and some basic CAN connectivity.
https://github.com/autosportlabs/CANx
The RCP port is basically an extension of the SPI bus. this small in-line adapter goes between the CAN device and RCP.
Cheers,
Posted: Fri Jan 24, 2014 8:14 pm
by shmed
So, with the module above, where would I connect my CAN twisted pair?
If I were to use the module I linked to above, would I need to change anything else (I guess like firmware)? Sorry, I'm not really an electronics person so don't understand it all.
I'm only interested in CAN data really (my old MR2 doesn't have an OBD port).
Posted: Fri Jan 24, 2014 9:49 pm
by brentp
So there's nothing special about the CANx module that makes it OBD2 specific. for a generic CAN interface you would just connect GND and CAN+ and CAN-. We'll have documentation and pinouts when it's released.
-Brent
Posted: Tue Feb 03, 2015 11:05 am
by shmed
brentp wrote:So there's nothing special about the CANx module that makes it OBD2 specific. for a generic CAN interface you would just connect GND and CAN+ and CAN-. We'll have documentation and pinouts when it's released.
-Brent
Hi Brent,
Digging up an old thread, but how can I get my hands on a CanX module for my RCP1?
Cheers
Paul
Posted: Thu Feb 05, 2015 3:35 am
by brentp
Here you go. We currently have 3 modules in stock, lovingly hand built and tested.
http://www.autosportlabs.com/product/ca ... on-module/
Posted: Thu Feb 05, 2015 8:30 am
by shmed
Hi Brent,
I just went to order one, but the shipping costs to the UK are as much as the actual device. Is the shipping cost a flat fee or can it be reduced as I guess the item is only small?
Cheers
Paul
Posted: Thu Feb 05, 2015 3:16 pm
by brentp
We'll see what we can do with a flat rate envelope and adjust the cost.
Thanks!
Posted: Thu Feb 05, 2015 3:35 pm
by shmed
brentp wrote:We'll see what we can do with a flat rate envelope and adjust the cost.
Thanks!
Ok, cheers.
I have ordered it already
(request 239)
Posted: Sun Jul 26, 2015 8:38 pm
by toga94m
Anyone with MK1 hardware and CANx - can you share what firmware you're running, to help me confirm I'm not insane? I just got my CANx in the mail, but can't get it working. The sample script shows a failure to init in the console/log window :
"Failed to reset CAN controller"
"CAN init failed"
This was with firmware 2.8.2 and Win8 app 1.3.6, then downgraded to firmware 2.7.7 and app 1.2.4, same error both times. I don't have anything connected to the CAN bus port, just jumpered to the RCP MK1 unit.
Script pasted from here-
http://autosportlabs.net/CAN_Bus_logger I even tried just the initCAN(0,500000) line, and left ontick() alone from the default script (I issued 'resetConfig' at the console after downgrading)
Posted: Sun Jul 26, 2015 9:03 pm
by brentp
A memory jog told me that the CANx module initialization will fail if you are not connected to a CAN bus. Need to be on the bus at the correct baud rate before initialization succeeds.