[Ovmsdev] Twizy / 500 kbps CAN lockups
dexter at expeedo.de
Sun Nov 4 04:11:05 HKT 2012
thanks for your welcomes and quick advice :)
I now went back to the prescaled timing -- I tried this in the first
place, it did not work, now it does... maybe I had another problem back
I don't know yet if that fixes the lockups, they did not occur again.
I'll take that as a good sign.
PS: @Michael: na klar war ich da, bin doch einer von den 100 "Helden" ;)
Aber war vor allem wegen der vielen zugereisten Tesla, Ampera uvm toll.
For you other guys: we're talking about this event:
PPS: @Mark: at least it's no "Bruce" pattern... ;)
Am 03.11.2012 00:30, schrieb mikeljo at me.com:
> Hi Michael,
> nice to see you here.
> The Volt/Ampera has 500 kbps too.
> i only change this:
> // BRGCON1 = 0; // SET BAUDRATE to 1 Mbps
> BRGCON1 = 0x01; // SET BAUDRATE to 500 Kbps
> BRGCON2 = 0xD2;
> BRGCON3 = 0x02;
> And it works. I think i must recalculate, but it works. ;-)
> Mark check the Logs from my car and it looks good.
> PS: Bin aus Kaiserslautern. Warst du am Samstag in Wuppertal?
> Am 02.11.2012 um 20:54 schrieb Michael Balzer <dexter at expeedo.de>:
>> During my tests I had two times some sort of a CAN lockup, i.e. everything worked except the CAN reception -- was fixed by switching the car off + on.
>> I'm not sure yet what caused that, it (of course) did not happen again since I included a first debug output of the RXERRCNT...
>> I saw the 1 mbps setup does not follow the intrepid timing calculator standard parameters but increases prop delay from 1 to 3 and decreases phase 1 from 5 to 3.
>> A similar change to the 500 kbps parameters though did not work with the Twizy.
>> Do you have any hints on debugging this?
>> My current setup for 500 kbps is:
>> // 500 kbps -- tool recommendation + multisampling:
>> BRGCON1 = 0x00;
>> BRGCON2 = 0xFA;
>> BRGCON3 = 0x07;
>> Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
>> Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 206 bytes
Desc: not available
More information about the OvmsDev