driver command CAN frame

Posted 3 months ago by Brice Le Rousseau

Post a topic
Un Solved
B
Brice Le Rousseau

Hello,

I would like to command an action from the ESC3-SL controller using a CAN frame. For example to trigger the precharge or obtain the value of an output. Do you have any examples of CAN frames that do this? 

here's a screenshot of the frames I see on the CAN bus, they come from communication with the display

0 Votes


4 Comments

Sorted by
J

Jiri Lambor posted 3 months ago Admin

Hi Brice


There must be an issue, if the Lynx is booting into mode 0 - STOP. It should boot to mode 100 - STANDBY in default. If you want to have PIN at start check this article


Jirka

0 Votes

B

Brice Le Rousseau posted 3 months ago

In fact I can now trigger the preload on request CAN as explained in my last topic request on the forum. But the default "MODE_STOP" in the Lynx application is causing me problems because I would like to have the pin lock ("MODE_LOCK") directly when the controller/display is switched on without needing to preload.

0 Votes

J

Jiri Lambor posted 3 months ago Admin

Hi Brice


I made a mistake in the previous response. 


The paramter driver/supply/pchgtim must be set to a higher value than -1 (it is defining for how long the precharge last in ms). Please set higher value e.g. -3000


Let us know, if this work


Jirka

0 Votes

J

Jiri Lambor posted 3 months ago Admin

Hi Brice


To perform the precharge remote you need to:


  1. set parameter driver/supply/pchgtim to value -1 (precharge needs to be done manually)
  2. Once the controler is turned ON it will waits for the init command. Send API CAN frame with command - Driver reinit
  3. Controller should precharge the voltage to the level specified by parameter driver/supply/pchg2


I hope this will help you


Jirka

0 Votes

Login or Sign up to post a comment