Search found 120 matches

by mikeselectricstuff
Wed Jun 23, 2021 12:58 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

Looks like I could get one on these for a few days if it would help : https://www.keysight.com/ie/en/product/16861A/16861a-34-channel-portable-logic-analyzer.html Extreme overkill, but if nothing else it would make a cool picture, in the boot at the charging station. But you'd need to find some mai...
by mikeselectricstuff
Tue Jun 22, 2021 5:46 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

That's weird - the waveforms clearly show the last byte as 0A, and this is consistent between tx and rx when trailing-edge sampling is used. Hard to see how 09 could become 0A (1001 to 1010) unless maybe the sample rate was maginal, but even then, the clocks look clean, with jitter being well below ...
by mikeselectricstuff
Tue Jun 22, 2021 5:18 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

OK I think the issue is just the edge selection in the SPI capture - needs to be set as "valid on trailing edge", otherwise the receive data from the QCA is sometimes wrong. I think the actual MACs are Efcaec : 00:01:87:05:6D:21 Ionity : 54:10:EC:A5:0B:D1 (UUID 5410EC is Microchip!) LIM : ...
by mikeselectricstuff
Tue Jun 22, 2021 5:01 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

Correction - looks like the decode is correct, but why is the MAC LSbit changing from Tx to Rx ?
Signal integrity issue from capture?
by mikeselectricstuff
Tue Jun 22, 2021 4:46 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

Quick warning - don't trust the Seleae Logic SPI decodes. Seems it can't handle sampling on different edges for MOSI and MISO. Looking at the MAC addresses, when the host is sending to the QCA, the MAC is showing as F0 7F 0C 00 8D 0A, but when receiving, it's F0 7F 0C 00 8D 09 Can't immediately see ...
by mikeselectricstuff
Tue Jun 22, 2021 4:01 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

The data looks very plausible - here's a snippet. This document is helpful for making sense of the SPI data https://in-tech-smartcharging.com/assets/Downloads/an4_rev5.pdf MAC prefix F0:7F:0C looks plausible https://www.kostal.com/en-gb/ and 00:01:87 is I2SE GmbH , who we've encountered before with ...
by mikeselectricstuff
Tue Jun 22, 2021 3:30 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

Once you've set up SPI decode in Seleae Logic, You can export a CSV of the decoded SPI bytes.
Not ideal as it doesn't packetise them but could be a useful step in analysis. It does include timestamps so that could be used to group packets to some extent
by mikeselectricstuff
Tue Jun 22, 2021 2:09 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

Note these .logicdata files are for Saleae Logic 1, not the V2 on the page linked above
https://support.saleae.com/logic-softwa ... load-links
by mikeselectricstuff
Mon Jun 21, 2021 5:22 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

Seems odd - looks like it needs a firmware load, and unlikely it could detect GP carrier without. the QCA7000 has sleep modes so doesn't seem like there is a reason to delay intialising it. The Kona module's flash has about 400K of code, so a firmware load over SPI should be pretty obvious. I assume...
by mikeselectricstuff
Mon Jun 21, 2021 12:34 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

reading the datasheet, looks like it can be configred to get its firmware from the SPI slave bus.
SPI slave functions are on page 22, boot modes on page 18
by mikeselectricstuff
Sun Jun 20, 2021 7:17 pm
Forum: Charging
Topic: CCS Plug
Replies: 6
Views: 1911

Re: CCS Plug

This is a Duosida plug - it's possible that others (e.g. liquid cooled) might be bigger
by mikeselectricstuff
Sun Jun 20, 2021 7:01 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

Did you try giving it the 5% PWM while looking at the SPI?
by mikeselectricstuff
Sun Jun 20, 2021 4:07 pm
Forum: General
Topic: V.E.S.S / fake engine sound module
Replies: 16
Views: 3320

V.E.S.S / fake engine sound module

If anyone fancies adding fake engine noises, I notice that the hyundai Ioniq VESS module is often to be found pretty cheap on ebay, often £25-30 e.g. https://www.ebay.co.uk/itm/274838841817?hash=item3ffdabe9d9:g:oAYAAOSwnStgzd~m And if you want to customise it, the audio is in a SPI flash device in ...
by mikeselectricstuff
Sun Jun 20, 2021 3:58 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

That's surprising - I'd have expected to have seen at least some initialisation at power-up
by mikeselectricstuff
Sun Jun 20, 2021 10:16 am
Forum: Charging
Topic: CHAdeMO Module ??
Replies: 13
Views: 2878

Re: CHAdeMO Module ??

It strikes me that there is a system design problem with evse. Wouldn't it be sensible to limit current at the source, to avoid potential overloads ? - or is it just me :-). ..... Steve No, because it would be very difficult (read expensive and inefficient) to limit at source. The car's onboard cha...
by mikeselectricstuff
Sat Jun 19, 2021 11:49 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

That QCA7000 HomePlug paperweight/module you got from AliExpress the other week should make it a bit easier to find the SPI pins I would have thought. Assuming it's the same package as the LIM anyway... Not an issue since I found the QCA7000 datasheet : https://openinverter.org/forum/viewtopic.php?...
by mikeselectricstuff
Sat Jun 19, 2021 10:25 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

A while ago I was told (by a supplier of Greenphy modules) that it was not possible to sniff the Greenphy link due to the inbuilt encryption/key exchange stuff, though I have also seen an analyser being sold. Might be that something needs configuring to disable encryption, or that analyser is doing ...
by mikeselectricstuff
Sat Jun 19, 2021 10:16 pm
Forum: Charging
Topic: CHAdeMO Module ??
Replies: 13
Views: 2878

Re: CHAdeMO Module ??

Hi again, Just to clarify (please bear with me - I'm old and very new to this ). If my car identifies itself as being, say, 30kw capable, the evse will supply 11kw its max, at a 11kw unit or 22kw, its max, at a 22kw unit or 30kw at a 43kw unit ?? Or do I need to select the appropriate resistor (swi...
by mikeselectricstuff
Sat Jun 19, 2021 5:21 pm
Forum: Charging
Topic: CHAdeMO Module ??
Replies: 13
Views: 2878

Re: CHAdeMO Module ??

Any chargepoint listed as 11, 22 or 43kW will be 3-phase, you just need to limit your current draw accordingly
by mikeselectricstuff
Sat Jun 19, 2021 12:43 pm
Forum: Charging
Topic: CHAdeMO Module ??
Replies: 13
Views: 2878

Re: CHAdeMO Module ??

Should be doable, but likely to be 3-phase supply only, and assuming that's the case, you'd need to prevent it trying to work if plugged in to a single-phase chargepoint. This may be less than trivial as the chargepoint won't tell you if it's single or 3 phase - you only know when the power is turne...
by mikeselectricstuff
Mon Jun 14, 2021 9:23 am
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

On another note given my recent experiences this is worth a read to the end : https://www.cornwalllive.com/news/cornwall-news/touring-electric-coach-stranded-eden-5524525 I suspect that's a result of crappy Chinese software in the bus not having been tested on many (non-Chinese) chargers, coupled w...
by mikeselectricstuff
Thu Jun 10, 2021 8:55 pm
Forum: General
Topic: Simple/cheap CAN logger ?
Replies: 6
Views: 1361

Re: Simple/cheap CAN logger ?

muehlpower wrote: Thu Jun 10, 2021 10:19 am maybe order at JLCPCB and copy software
..except there is no stock anywhere of that MCU, Farnell expecting next January!
by mikeselectricstuff
Thu Jun 10, 2021 8:16 pm
Forum: Charging
Topic: BMW i3 CCS/charge port controller
Replies: 1205
Views: 5541203

Re: BMW i3 CCS/charge port controller

Jack Bauer wrote: Thu Jun 10, 2021 5:27 pm Wow that's mad even the cables are liquid cooled.
Yea - the annoying whine on your Ionity vid is the coolant pump - sounds like a crappy windscreen washer pump!
by mikeselectricstuff
Thu Jun 10, 2021 9:47 am
Forum: General
Topic: Simple/cheap CAN logger ?
Replies: 6
Views: 1361

Re: Simple/cheap CAN logger ?

Yes, definitely a couple of analogue ins (0-15V range) , probably a UART in as well to log from other random hardware. Dedictated hardware - using existing stuff will always be a compromise. I have a pick & place machine. Will be based on the PIC32MX5xx as I'm very familiar with PIC32MX ( and un...
by mikeselectricstuff
Wed Jun 09, 2021 11:36 pm
Forum: General
Topic: Simple/cheap CAN logger ?
Replies: 6
Views: 1361

Simple/cheap CAN logger ?

Saw a comment in another thread that it would be useful to have a very simple standalone CAN logger which would simply dump CAN data to an SD card, and not much else. Simple & cheap enough to be able to send to someone offering to log from their car to help reverse-engineering. I'd thought about...