Page 1 of 1

PMU's new project

Posted: Sun Feb 11, 2018 5:41 pm
by FIS
I just install PMU program in my laptop and learn from the samples given. I wonder how to start with fresh new project, do I have to go online with the device?

Re: PMU's new project

Posted: Tue Feb 13, 2018 12:41 pm
by jgm
Hi,

You can create project offline and then connect the PMU and load the project into the PMU.
Alternatively, you can connect to the device and create the project in "real-time".

Make sure to save your project permanently in the device by using F2 key "File/Make permanent".

Re: PMU's new project

Posted: Fri Feb 16, 2018 4:45 am
by FIS
Thank you for explanation :D I started to create project offline.
Is it possible the PMU keyboard switch to be used as digital input switch of Link ECU? for example to change from one map to another

Thank you

Re: PMU's new project

Posted: Fri Feb 16, 2018 9:35 am
by FIS
What I meant is via CAN bus

Re: PMU's new project

Posted: Fri Feb 16, 2018 5:09 pm
by jgm
Hi,
First I need to say that I'm not the Link ECU expert.

There are two steps to connect PMU keypad to Link ECU.

In PMU:
1. You need to export keyboard state to CANbus. It can be done by using PMU built-in keypad export.
Make sure to select proper CAN, the same CAN where Link ECU is connected.
Use ID default 0x662 hexadecimal (=1634 decimal)

Link ECU:
2a. You need to configure Channel to receive data. You need to select proper CAN, the same CAN where PMU is connected. Use ID 1634 decimal (0x662 hexadecimal). Don't be confused: Link ECU uses the decimal format, while PMU is using the hexadecimal format of ID.

2b. Setup the parameter receive.
The format of keypad frame is as follows (Link ECU notation):

Bits 0..3 - Button 1 in the upper row
Bits 4..7 - Button 2 in the upper row.
Bits 8..11 - Button 3 in the upper row.
Bits 12..15 - Button 4 in the upper row.
Bits 16..19 - Button 5 in the upper row.
Bits 20..23 - Button 6 in the upper row.

Bits 24..27 - Button 1 in the bottom row.
Bits 28..31 - Button 2 in the bottom row.
Bits 32..35 - Button 3 in the bottom row.
Bits 36..39 - Button 4 in the bottom row.
Bits 40..43 - Button 5 in the bottom row.
Bits 44..47 - Button 6 in the bottom row.

Attached three images how to set up each step.

Re: PMU's new project

Posted: Fri Feb 16, 2018 5:10 pm
by jgm
Order of images in my previous is reversed. There are some issues with PhpBB and I can't edit it.

Re: PMU's new project

Posted: Sat Feb 17, 2018 6:23 am
by FIS
Thank you very much for informative answer! :D