Develop a QCA7000 board?
- uhi22
- Posts: 683
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 97 times
- Been thanked: 436 times
Re: Develop a QCA7000 board?
Created https://github.com/uhi22/ccs32clara/issues/17 regarding missing stack pointer initialization, which is one reason that Clara crashes on the iso-test branch. Any hint welcome.
[Edit] The missing stack pointer initialization is solved now on the iso-test branch. DIN works again, ISO not yet tested and some open todos to resolve.
[Edit] The missing stack pointer initialization is solved now on the iso-test branch. DIN works again, ISO not yet tested and some open todos to resolve.
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
-
- Posts: 125
- Joined: Tue Jun 15, 2021 5:44 pm
- Location: Finland
- Has thanked: 22 times
- Been thanked: 6 times
Re: Develop a QCA7000 board?
Slightly off-topic, but does anyone have spare QCA7005 chip to sell, 1-2pcs?
Re: Develop a QCA7000 board?
Hello,
after reading until the end of this and other QCA7000 threads it is time to get my hands dirty and kick start my project to upgrade my Nissan Leaf for CCS charging...
One question I have is what is currently the latest release of FOCCI? Looking at GitHub it states 4.2, if you go to the shop it states 4.5 and of course earlier in this thread you read about 4.3. It seems to me GitHub is a bit behind and I wonder if there are plans to keep the versioning kind of in line?
Lastly how far away is the migration of the wakeup branch Johu is working on?
after reading until the end of this and other QCA7000 threads it is time to get my hands dirty and kick start my project to upgrade my Nissan Leaf for CCS charging...
One question I have is what is currently the latest release of FOCCI? Looking at GitHub it states 4.2, if you go to the shop it states 4.5 and of course earlier in this thread you read about 4.3. It seems to me GitHub is a bit behind and I wonder if there are plans to keep the versioning kind of in line?
Lastly how far away is the migration of the wakeup branch Johu is working on?
- uhi22
- Posts: 683
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 97 times
- Been thanked: 436 times
Re: Develop a QCA7000 board?
Good question, did anybody find a reasonable priced source in the meanwhile? (I'm dreaming of below 10€)evMacGyver wrote: ↑Wed May 22, 2024 4:53 pm Slightly off-topic, but does anyone have spare QCA7005 chip to sell, 1-2pcs?
Regarding the versioning: The latest version is on johus wakeup branch. If further tests are turning out that this is stable, we should bring this back to the main.
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
-
- Posts: 1
- Joined: Thu May 23, 2024 1:55 pm
- Has thanked: 1 time
Re: Develop a QCA7000 board?
Hi,
This is my first post and I'm sorry if I'm not adhering to any forum guidelines.
I'm developing a CCS Charger using QCA7005 with STM32F4 microcontroller. I used the Qualcomm PLC utils toolkit.
I'm able to establish an AVLN network after successful completion of SLAC messages (upto SLAC_MATCH_CONF). I'm also able to receive SDP request from the EV car, but I'm not able to get the TCP request as expected. As I'm not using a linux system, I wasn't able to get trace message as shown in previous post. I'll give a few details below and please let me know if you need anything else apart from this
The SDP response payload that my controller sends after receiving the SDP request is as follows
Requesting you to help me with this issue
This is my first post and I'm sorry if I'm not adhering to any forum guidelines.
I'm developing a CCS Charger using QCA7005 with STM32F4 microcontroller. I used the Qualcomm PLC utils toolkit.
I'm able to establish an AVLN network after successful completion of SLAC messages (upto SLAC_MATCH_CONF). I'm also able to receive SDP request from the EV car, but I'm not able to get the TCP request as expected. As I'm not using a linux system, I wasn't able to get trace message as shown in previous post. I'll give a few details below and please let me know if you need anything else apart from this
Code: Select all
NMK D3 E4 93 3F 85 5B 70 40 78 4D F8 15 AA 8D 87
NID B0 F2 E6 95 66 6B 03
PLCC MAC ID 00 B0 0A 0B 17 05
Code: Select all
start: AAAAAAAA
length: 5A00
temp: 0000
ODA: 38 1F 26 30 25 48
OSA: 00 B0 0A 0B 17 05
MTYPE: 86 DD
IP Headers:
Version, Traffic Class, Flow label: 60 00 00 00
Payload length: 00 24
Next header: 11
Hop limit: 40
IPv6 Src addr: FE80 : 0000 : 0000 : 0000 : 02B0 : 0AFF : FE0B : 1705
IPv6 Dest addr: FE80 : 0000 : 0000 : 0000 : 3A1F : 26FF : FE30 : 2548
Src port: 3B 0E
Dest port: C0 01
UDP payload length: 00 24
Checksum: DC 96
SDP headers
Protocol ver: 01
Protocol inv ver: FE
Payload type: 9001
Payload length: 14
Payload:
IP addr: FE 80 00 00 00 02 B0 0A FF FE 0B 17 05
port: C051
Security: 10
Transport protocol: 00
End: 55 55
- johu
- Site Admin
- Posts: 5894
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 177 times
- Been thanked: 1097 times
- Contact:
Re: Develop a QCA7000 board?
Hi, is this open source?lalithroshan wrote: ↑Thu May 23, 2024 2:39 pm I'll give a few details below and please let me know if you need anything else apart from this
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- uhi22
- Posts: 683
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 97 times
- Been thanked: 436 times
Re: Develop a QCA7000 board?
I recommend to record the SPI traffic, and convert the SPI data into a pcap file, which can be inspected e.g. using wireshark. The workflow is described here: https://github.com/uhi22/Ioniq28Investi ... i-analysislalithroshan wrote: ↑Thu May 23, 2024 2:39 pm As I'm not using a linux system, I wasn't able to get trace message
I think I do not need anything. If you want to give something to the community then you are invited to share your experiences. (Sorry for the clear statement. Maybe it's just a bad translation. The message I got is, that you need support and ask me whether I need information to do your work.)lalithroshan wrote: ↑Thu May 23, 2024 2:39 pm I'll give a few details below and please let me know if you need anything else apart from this
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- asavage
- Posts: 348
- Joined: Sat May 14, 2022 10:57 pm
- Location: Oak Harbor, Washington, USA
- Has thanked: 304 times
- Been thanked: 111 times
- Contact:
- johu
- Site Admin
- Posts: 5894
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 177 times
- Been thanked: 1097 times
- Contact:
Re: Develop a QCA7000 board?
Finally got around to re-assigning the connector pins and made the flash SPI easier to access. Moved some components around to reflect the new placement also. I'm calling it 4.5b as it is electrically identical to 4.5. Didn't want to burn up another version resistor. Does that make sense?
Here is the new assignment I've "padded" the unused pins with GND. That way, both the contactors + and - lead can be inserted into the Deutsch connector
EDIT: now that I look at it I could swap 5V with GND so contactor pins can be adjacent.... DONE
https://github.com/jsphuebner/foccci/tr ... assignment
Here is the new assignment I've "padded" the unused pins with GND. That way, both the contactors + and - lead can be inserted into the Deutsch connector
EDIT: now that I look at it I could swap 5V with GND so contactor pins can be adjacent.... DONE
https://github.com/jsphuebner/foccci/tr ... assignment
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Develop a QCA7000 board?
That is fantastic Johu....!!!
Padding the unused pins is always a good idea and may be best practice?
I'm happy to give this new design a shot and share the ones I don't need. Let me know otherwise...
Think it depends if this board will be sold through the shop. Rearranging connector pins is a breaking change if you ask me. It makes it incompatible with previous versions and can cause issues if you are not taking care and double check before using it.johu wrote: ↑Fri May 24, 2024 4:26 pm Finally got around to re-assigning the connector pins and made the flash SPI easier to access. Moved some components around to reflect the new placement also. I'm calling it 4.5b as it is electrically identical to 4.5. Didn't want to burn up another version resistor. Does that make sense?
Padding the unused pins is always a good idea and may be best practice?
I'm happy to give this new design a shot and share the ones I don't need. Let me know otherwise...
Re: Develop a QCA7000 board?
Right, I'm aware about these devices. Was thinking about getting one but they are still a bit pricy and if you look at comments from users who have bought them they aren't fully compatible. You rely on what they provide and have to wait for updates from the vendor.asavage wrote: ↑Thu May 23, 2024 8:03 pm As opposed to one of the off-the-shelf CCS->CHAdeMO adapters?
Believe this solution / project is a few steps further down the road and you have the freedom in getting fixing issues on your own or getting help much faster. Of course it requires to mod your car but given my one is more than 5 years old there is no warranty anymore.
Lastly it is more fun this way
Re: Develop a QCA7000 board?
Hello everyone.
Tell me, I'm faced with the following not very good situation. When connecting the board to the charger, at the moment the QCA wakes up, there is some kind of surge on the line (or CP or CE) on the side of the charger, such that the controller is reset. Maybe someone has encountered it? What protection options were considered? Has anyone tried to enable TVS protection on the CP-CE line?
Tell me, I'm faced with the following not very good situation. When connecting the board to the charger, at the moment the QCA wakes up, there is some kind of surge on the line (or CP or CE) on the side of the charger, such that the controller is reset. Maybe someone has encountered it? What protection options were considered? Has anyone tried to enable TVS protection on the CP-CE line?
- uhi22
- Posts: 683
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 97 times
- Been thanked: 436 times
Re: Develop a QCA7000 board?
Do you have the chance to measure this "surge" with an oscilloscope? We need to understand, where it comes from and where it harms, to fix it. And: You write "controller is reset". You mean the STM32 is reset? This cannot be caused by anything on CP, PP or PE. This would mean that the 3.3V line drops, which is quite unlikely, no matter what is applied on the CP or PP or PE from outside. More likely is power drop on the 12V.
Also it would be interesting when exactly the reset happens. A log of Focccis serial output could help.
Regarding implemented protection measures:
- The 12V power is protected with a TVS against overvoltage.
- The 12V power is protected with a diode against wrong polarity.
- The PLC modem is protected by diode network against high-frequency energy on CP.
- The PLC modem is protected by transformer against low frequency pulses on CP.
- The controller is protected by 47k and 100nF against voltage spikes on PP.
- The controller is protected by D14, R58, D16 against high voltage on CP.
Which additional protections do you intend to add?
Also it would be interesting when exactly the reset happens. A log of Focccis serial output could help.
Regarding implemented protection measures:
- The 12V power is protected with a TVS against overvoltage.
- The 12V power is protected with a diode against wrong polarity.
- The PLC modem is protected by diode network against high-frequency energy on CP.
- The PLC modem is protected by transformer against low frequency pulses on CP.
- The controller is protected by 47k and 100nF against voltage spikes on PP.
- The controller is protected by D14, R58, D16 against high voltage on CP.
Which additional protections do you intend to add?
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- johu
- Site Admin
- Posts: 5894
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 177 times
- Been thanked: 1097 times
- Contact:
Re: Develop a QCA7000 board?
I have added a thread for everyone who integrated Foccci into the car: viewtopic.php?t=5077
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9