[Ovmsdev] Leaf AZE1 Can1 stuck after poll 7BB group 61
Michael Balzer
dexter at expeedo.de
Sun Mar 23 18:22:49 HKT 2025
Wayne,
do you currently apply my CAN timing patch? If not, please try that first.
Also, a general question to all Leaf developers: did anyone yet test
fixing that random bytes write in `OvmsVehicleNissanLeaf::CommandWakeup()`?
Regards,
Michael
Am 23.03.25 um 06:59 schrieb Wayne Love via OvmsDev:
> Using Leafspy I can see that it's using the following poll and
> response to get the SOH of the batteries
>
> 1742706668.884315 1R11 79B 02 21 61 00 00 00 00 00 1742706668.892602
> 1R11 7BB 11 4b 61 61 1a cc 23 70
> However, when try to do the same poll with OVMS using the following
> code...
>
> static const OvmsPoller::poll_pid_t obdii_polls[] =
> {
> // BUS 2
> { CHARGER_TXID, CHARGER_RXID, VEHICLE_POLL_TYPE_OBDIIGROUP, VIN_PID,
> { 0, 900, 0, 0 }, 2, ISOTP_STD }, // VIN [19]
> { CHARGER_TXID, CHARGER_RXID, VEHICLE_POLL_TYPE_OBDIIEXTENDED,
> QC_COUNT_PID, { 0, 900, 0, 0 }, 2, ISOTP_STD }, // QC [2]
> { CHARGER_TXID, CHARGER_RXID, VEHICLE_POLL_TYPE_OBDIIEXTENDED,
> L1L2_COUNT_PID, { 0, 900, 0, 0 }, 2, ISOTP_STD }, // L0/L1/L2 [2]
> // BUS 1
> { BMS_TXID, BMS_RXID, VEHICLE_POLL_TYPE_OBDIIGROUP, 0x01, { 0, 60, 0,
> 60 }, 1, ISOTP_STD }, // bat [39/41]
> { BMS_TXID, BMS_RXID, VEHICLE_POLL_TYPE_OBDIIGROUP, 0x02, { 0, 60, 0,
> 60 }, 1, ISOTP_STD }, // battery voltages [196]
> { BMS_TXID, BMS_RXID, VEHICLE_POLL_TYPE_OBDIIGROUP, 0x06, { 0, 60, 0,
> 60 }, 1, ISOTP_STD }, // battery shunts [96]
> { BMS_TXID, BMS_RXID, VEHICLE_POLL_TYPE_OBDIIGROUP, 0x04, { 0, 300,
> 0, 300 }, 1, ISOTP_STD }, // battery temperatures [14]
> { BMS_TXID, BMS_RXID, VEHICLE_POLL_TYPE_OBDIIGROUP, 0x61, { 0, 300,
> 0, 300 }, 1, ISOTP_STD }, // SOH for AZE1
> POLL_LIST_END
> };
>
> It results a CAN bus error
> 2025-03-23 13:48:10.648 AEDT E (11528) esp32can: can1 stuck bus-off
> error state (errflags=0x00040cab) detected - resetting bus
> I'm new to this but from what I can work out what I am doing should
> work. Any suggestions?
>
> Thanks
> Wayne
>
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
--
Michael Balzer * Am Rahmen 5 * D-58313 Herdecke
Fon 02330 9104094 * Handy 0176 20698926
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20250323/a45531c7/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: can-sae-test.diff
Type: text/x-patch
Size: 3286 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20250323/a45531c7/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20250323/a45531c7/attachment-0001.sig>
More information about the OvmsDev
mailing list