Jump to content

Can bus.


Lars200

Recommended Posts

Do any one got tips about can bus on  the pdm? 

Want to use my Aim MXL2 to send can bus signal with rpm and speed. 

The aim has a can bus 2 that i  program my self. 

Like some of the information that MICRO PDM has in the user manual that i put in under. 

I got a signal to work but it was not working properly.  

Any one done something like this? 

 

Best regards Lars Erik Nilsen

 

 

Baud Rate

This message will change the baud rate of the MicroPDM.  No other devices should be on the CAN bus when this message is sent.  Note that you will also need to change the baud rate of the keypad and all other devices on the bus to match the new baud rate.  

Identifier

0x322E12 (primary PDM)

0x322E22 (add-on PDM)

Format

Extended

 

Direction

To MicroPDM

 

Byte 0

0x03

Baud Rate message

Byte 1

0xYY

Baud rate

00:  1 m

01:  500k

02: 250k

03: 125k

Byte 2-7

0x00

Not used

 

Examples:

 

Direction

Identifier

Message

Description

To MicroPDM

0x322E12

03 01 00 00 00 00 00 00

Change primary PDM baud to 500k

To MicroPDM

0x322E22

03 00 00 00 00 00 00 00

Change add-on PDM baud to 1m

Button Action

This message will turn a button ON or OFF.  The message will have no effect when the MicroPDM is in Standby Mode or Configuration Mode.

 

Identifier

0x322E12

 

Format

Extended

 

Direction

To MicroPDM

 

Byte 0

0x02

Button Action message

Byte 1

0xYY

Button key number, zero indexed.  

Byte 2

0xZZ

Button state

00:  Turn OFF

01:  Turn ON 

Bytes 3-7

0x00

Not used

Link to comment
Share on other sites

So do you have a Link PDM or a MicroPDM?  

Can you explain in detail what you are trying to do?  To send RPM and speed to the PDM you would use one of the CAN Aux frequency channels, but i'm curious why would a PDM need to know speed or RPM?  

The CAN message structure for the Link PDM is available in the PDM help file or the G4X ECU help file.  I think the info in the G4X help file is a bit clearer with examples for the sequential ID's etc so that is probably the better resource.  Navigation:  G4X ECU Tuning Functions > CAN > Link Razor PDM

Link to comment
Share on other sites

I have a link PDM :) of course:) 

The PDM starts the fuel pump.  And i Norway the pump has to stop if the engine stops. Rules in racing series i drive. 

Does the pdm read in  little-endian og big? 

I have the Link g4+ concted  to the aim. 

And can bus 2 from aim to pdm whit a key pad on.   Key pad works fine. 

But i want the fuel pump of when the engine stops. 

And cooling fan of when the car gets over 30km/h  and back on when car goes under 30.  Engine over 85 degrees. 

I will have a look there. 

Il load up some picture later to explain  better :)

Link to comment
Share on other sites

Typically the fuel pump and fan control logic is done by the ecu, then you just send the on/off request to the PDM.  It is very unusual to have the PDM connected to the dash rather than the ecu.  

Multibyte data should be MSB first/Big Endian.  

 

Link to comment
Share on other sites

Had a look inn the G4X ECU Tuning Functions > CAN > Link Razor PDM 

This was perfect. That was the info i was looking for:)   Had a old version on my computer, Update now and i found it. 

Big thanks :) 

Yes i know its a bit strange to have the ecu to the aim. 

The PDM only needs 2 messages from aim then every thing will work. 

And now  i can log the important things from the pdm inn the aim.

Fuel pump and cooling fan.  

And i have a G4+ not x engine Ecu. 

Would do i another way if i had a G4X. 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...