![]() |
|
|
Jeep Street and Performance Do you like to go fast in your Jeep? |
![]() |
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
I am working on a new project lately to be able to drop a Haltech Elite ECU into my 1997 based MJ without losing the stock gauges or other CCD bus operated modules. This is accomplished by translating CAN bus messages from the Haltech into CCD bus messages simulating the stock Chrysler PCM. It removes the need to keep the stock PCM in place to run any systems and removes wiring/sensor complexity from running two engine computers. As well, this would simplify any CAN bus controlled engine swap, such as a GM V8, by only needing to plug in a little box between the data lines to retain the stock gauge cluster.
Current implementation status:
Example of controlling the gauge cluster over USB. ![]() Testing how fast the gauge cluster can respond to data packets. The needles visibly stop moving when hitting the processing limits of the gauge cluster's microcontroller. The fastest I can get the gauge cluster to respond is 20hz or one update every 50ms. This might actually be faster than how fast the stock PCM updates. ![]() |
#2
|
||||
|
||||
CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
Awesome!
Back when I dyno'd 193whp and 231wtq, the shop wanted me to buy the Haltech standalone ecu because the stock pcm was lean. I love watching MCM with the Haltech guru. Sent from my iPhone using Tapatalk Last edited by gradon; August 2nd, 2016 at 08:31. |
#3
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
That is part of the problem I having now and why I am doing all this to switch. The stock PCM will be fine, then lean out, and then suddenly go balls to the wall dumping fuel in trying to correct it. Waiting for one of the two tuners in the USA who know how to flash JTEC PCMs, plus the cost, is not worth it in comparison to the cost and flexibility of an aftermarket ECU.
|
#4
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
Do you have any technical details? I have been working on something like this for a TDI swap, and there's also a thread on thespeedfreaks.net that I've been following. Id love to help, as this is something I've been working on in the background for almost a year now. You've made it further than I have, seeing as how you have moving needles.
|
#5
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
Quote:
https://github.com/Alexia/CAN-CCD_bus I have an unpushed branch with more Haltech CAN bus work on my laptop, but I am waiting to push it until I have it tested on my MJ. Which is waiting for my slush fund to recover to make a part purchase since I am about to drop several thousand in repairs on my LJ. |
#6
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
How are you driving the CCD bus? Are you using any of the older SPI to CCD
Intersil chips or driving it directly with the teensy? Ill pull your code when I get home, it looks great! |
#7
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
Oh, you were looking for fuel level? The link I dropped earlier has documented the fuel CCD address for a Durango.
// Fuel ID 37 [HEX-25] (ID-DATA-CRC) // DATA range 1 ~ 253 + Error handling. |
#8
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
Quote:
I have been trying 0x25, but none of the values I looped through have made the XJ gauge cluster respond to it yet. |
#9
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
I finally got home from work and got a chance to clone your repo. I'm looking at CCD::doUpdateLights() and I noticed you set the airbag status. In my engine swap, I was planning on retaining all of the CCD modules (OHC, airbag, gauges) so I am more concerned with emulating the messages provided by the ECU than anything else. Since I plan on retaining the airbag controller, I would be concerned about leaving it on the CCD bus if the address used for airbag status is shared with your code. Is this message provided by the ECU or by the airbag controller?
Either way, I like what you have here. I was going the approach of using an Intersil CCD chip over SPI. Your approach of using a CAN transceiver and handling the rest in code seems to actually involve fewer IOs, less interrupts, and has a lower component count. Do you think there is potential for bidirectional communication with your approach of using a CAN transceiver as the physical interface? Do you have anything you would like help with on this project? Last edited by xeroOTG; August 3rd, 2016 at 19:19. Reason: spelling... |
#10
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
Quote:
The CAN transceiver I am using does not work to receive on the CCD bus. It applies power the CCD bus, but CCD is designed to be powered from one source. In the case of the XJ the power source is the gauge cluster. I actually want to rework the code slightly to use a middleware style so that messages broadcasted on one bus are reflected to any bus. The first iteration will be purely one way CAN to CCD. |
#11
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
BOOOOOOOOOOOOOOOYAH THAT WORKS! Every time I tested 0x25 for a packet ID I had been using 0x00 or 0xFF. Which is empty and open circuit which displays empty. However, whenever testing other values I would start with 0x00 then set it higher. Since the XJ gauge cluster buffers that value automatically it can take five to ten minutes to reach that new point. Patience in testing never came to mind in that case.
|
#12
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
Quote:
|
#13
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
I did not test the exact values, but the light does turn on automatically after a ten second delay in the expected low fuel range.
|
#14
|
||||
|
||||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
VERY cool.
I have a couple of aftermarket ecus and access to some others that use the same form factor as the stock ECU......but are fully programmable and configurable....and talk CANBUS. ![]() 128pin version: ![]() Now thats great for using those, but you come onto a good use as well, the diesel KJ ecu runs on canbus, so to spit out data for the CCD bus is perfect. Alternatively I could use TJ PCI cluster.....I think one of these should work. |
#15
|
|||
|
|||
Re: CAN bus to CCD bus Protocol Translator(Chrysler PCM Simulator)
Quote:
I think the function of the Intersil could be implemented in software, bringing duplex communication into your project. Arbitration detection, collision detection and idle detection all are well documented in the CPD68HC68S1 datasheet, I just don't think I am up to the task of implementing them. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
o2 simulator | ju82takata | OEM Tech Discussion | 2 | January 25th, 2009 07:48 |
o2 sensor simulator???? | 2000xj4x4 | OEM Tech Discussion | 10 | November 28th, 2007 18:30 |
o2 simulator?? | Dirt | Modified Tech Discussion | 3 | November 10th, 2005 12:22 |