Page 1 of 2

M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Wed Jan 16, 2019 11:12 pm
by dr350
Hi, i need help
I was reading several technical notes published in the forums, about the communication of the bus M1 to PDM and I can not find the way to select a channel in M1 and configure the correct address to send a message to PDM. (In the drop list, output resource)
In one of the technical notes gives an example.
I only found the CAN SLOT configuration on some sensors.
Only these sensors are enabled in GPR package?
Thanks, regards

output resource.png
m1 to pdm communications
output resource.png (174.45 KiB) Viewed 13248 times

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Thu Jan 17, 2019 5:42 am
by David Ferguson
I suggest you read the firmware help for "ECU Transmit" This describes channels that are transmitted for PDM use, and gives enough information to configure the PDM to receive them. There may be some sample PDM configs posted on this forum.

So, if your output resource can be configured with a "PDM Byte x Mask xx" it will be transmitted for PDM use.

There is no general purpose method to transmit any arbitrary channel to the PDM, without writing custom firmware. We usually get around this by sending the data from a dash which is much more configurable. Most channels you might want to share are already transmitted by the ECU for dash/logger use. Again, if something isn't in the standard list, then custom firmware in the ECU is required.

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Thu Jan 17, 2019 8:16 am
by rntechnologies
Hi dr350,
When you say 'I only found the CAN SLOT configuration on some sensors' - You should note that these are Inputs to the M1, not outputs.
Output channels such as the Coolant Fan output are the ones that have the option to select PDM Byte X Mask XX as David has mentioned.

In addition to this, you will want to enable the PDM within M1 tune, and specify the PDM base address otherwise the ECU will not transmit to the PDM.

I have attached the M1 CAN template for you to add into your PDM manager. - This will allow you to receive the default M1 PDM channels outlined in the documentation.

Thanks

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Fri Jan 18, 2019 12:55 am
by dr350
Hi, thank you very much for the advice!!!
We are beginning to use these systems, it is all very new for us!!
Could it be that you do not have the options to send messages to the PDM because you do not have datalogging enabled?
Thanks,regards!!!

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Fri Jan 18, 2019 3:55 am
by David Ferguson
Datalogging enabled won't make a difference, however what firmware you are using certainly will (the firmware provides the features and options that M1 Tune displays). Our advice was based on the baseline "GP" packages, I have not looked at the "Mini R56 2008 N14B16" firmware package that you are apparently using.

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Fri Jan 18, 2019 8:02 am
by rntechnologies
Hi dr350,
Do you have the following enabled with the correct BaseID and canbus?:
PDM.JPG
PDM.JPG (16.94 KiB) Viewed 13200 times


Without this set, the messages will not be sent to the PDM.

Thanks

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Fri Jan 18, 2019 11:42 am
by Stephen Dean
Hi DR,

The MINI Firmware does not support the direct PDM CAN Messaging that you are trying to implement as it is built in the V1.3 environment and the PDM functionality was added into the the V1.4 environment.

I have added a pdf that explains the process of setting up the M1 and PDM using the MINI firmware to use CAN to control the PDM outputs.

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Wed Jan 23, 2019 5:41 am
by dr350
Hi Stephen,

Thank you very much, fantastic!
With the guide I managed to transmit the messages correctly.
Now I'm going to start working with them and see how we are going to make the wiring.

Another query:
The list of channels that you have attached in the guide is a standard list, there is the possibility of adding channels such as brake pressure, or the position of the gear change, in order to get the most benefit from the transmission of data via CAN BUS and the PDM.
In this way we avoid installing SW brake, reverse, neutral.

Thank you very much to all!
Regards!

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Wed Jan 23, 2019 9:11 am
by Stephen Dean
Hi,

Do you have a MoTeC Dash in the vehicle as well? This makes it easier to get the CAN Bus messages from the M1 into the PDM as you can change the 16bit length M1 messages into 8bit PDM CAN messages.

There is a Brake Switch state that is transmitted to the PDM from the M1 in the 11A message group, this is controlled by the Brake State channel in the Firmware.

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

PostPosted: Thu Jan 24, 2019 10:10 pm
by dr350
Hi Stephen

We have installed an AIM MXS dash with datalogger, we could send messages from dash. Did you ever do with these dash?
We would need the ecu protocol?

In the list of channels we use, is the guide that you attached, is not in (11A) the brake state.
If you are in the guide for the firmware version 1.4.

Sorry for the inconvenience, we are learning.
We thank you for the excellent advice!

regards!