Develop a QCA7000 board?

Development and discussion of fast charging systems eg Chademo , CCS etc
explorer232
Posts: 15
Joined: Mon Oct 09, 2023 11:25 am
Location: Slovakia
Has thanked: 3 times
Been thanked: 4 times

Re: Develop a QCA7000 board?

Post by explorer232 »

uhi22 wrote: Tue Oct 24, 2023 5:25 pm Unfortunately not. If we would have reservations for a batch of five, I would order a batch of five populated from jlcpcb. But you are the first who is asking. (Besides the three handmade samples for muehlpower, johu and me.)
Thanks for info, I see some interrest. Please reserve for me one in batch.
User avatar
uhi22
Posts: 609
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 92 times
Been thanked: 415 times

Re: Develop a QCA7000 board?

Post by uhi22 »

This sounds like it is time to place an order at jlc :-)
The reservation list:
- explorer232
- celeron55
- dougyip
- uhi22 (myself)
- f0ld

The content: https://github.com/uhi22/foccci#v4-2023-09-10 with the components populated by jlcpcb, plus QCA and transformer and debug connectors from me. Flashed and tested. Without the big connector.

Shall we do this? Or any topics to resolve beforehand?
jrbe
Posts: 290
Joined: Mon Jul 03, 2023 3:17 pm
Location: CT, central shoreline, USA
Has thanked: 100 times
Been thanked: 76 times

Re: Develop a QCA7000 board?

Post by jrbe »

uhi22 wrote: Wed Oct 25, 2023 4:39 am Very far away, unfortunately. Still in the beginning of the concept phase, and no time to bring this further.
I know it doesn't help the time side of things. I didn't look into the license but there might be some ideas for you in here, https://github.com/rusefi/rusefi/wiki/Small-CAN-Board
Full rusEFI firmware with Lua running stm32f405 LQFP-64
  • Two CAN buses
    Low standby power consumption below 0.003A
    CANbus wake-up
    LIN/K-line
    Bluetooth
    USB-C
    SD card
    SENT input
    x4 high current low side outputs (5A-ish)
    x3 analog inputs
    x3 digital inputs
    TC2030 debugging header
    aux USB header
    PROG button to enter DFU mode
explorer232
Posts: 15
Joined: Mon Oct 09, 2023 11:25 am
Location: Slovakia
Has thanked: 3 times
Been thanked: 4 times

Re: Develop a QCA7000 board?

Post by explorer232 »

uhi22 wrote: Wed Oct 25, 2023 10:54 am This sounds like it is time to place an order at jlc :-)
The reservation list:
- explorer232
- celeron55
- dougyip
- uhi22 (myself)
- (one spare)

The content: https://github.com/uhi22/foccci#v4-2023-09-10 with the components populated by jlcpcb, plus QCA and transformer and debug connectors from me. Flashed and tested. Without the big connector.

Shall we do this? Or any topics to resolve beforehand?
I'm in favor :)
f0ld
Posts: 27
Joined: Thu Oct 12, 2023 5:41 pm
Location: Karlsruhe/Germany
Has thanked: 53 times
Been thanked: 20 times

Re: Develop a QCA7000 board?

Post by f0ld »

uhi22 wrote: Wed Oct 25, 2023 10:54 am This sounds like it is time to place an order at jlc :-)
The reservation list:
- explorer232
- celeron55
- dougyip
- uhi22 (myself)
- (one spare)

The content: https://github.com/uhi22/foccci#v4-2023-09-10 with the components populated by jlcpcb, plus QCA and transformer and debug connectors from me. Flashed and tested. Without the big connector.

Shall we do this? Or any topics to resolve beforehand?
Since I am currently working on the Clara TCP Stack and dont have a possibility to activly test it on hardware, that sounds like a great timing.
Depending on the price of it, I would like to reserve the last one :)
If it is below 50€ count me in :D

Huge thanks to uhi22 for the kind offer!
Plasma cutter solves all my problems.
-----------------------------------------------------------
Trying to bring a CCS Retrofit to a Renault Zoe.

Github |
User avatar
uhi22
Posts: 609
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 92 times
Been thanked: 415 times

Re: Develop a QCA7000 board?

Post by uhi22 »

Great, added you to the reservation list.
User avatar
uhi22
Posts: 609
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 92 times
Been thanked: 415 times

Re: Develop a QCA7000 board?

Post by uhi22 »

Just ordered five units from JLCPCB. The NCV8402 (contactor driver) is out of stock, so I need so see if I find some of them and populate it later.
royhen99
Posts: 211
Joined: Sun Feb 20, 2022 4:23 am
Location: N. Wiltshire. UK
Has thanked: 16 times
Been thanked: 101 times

Re: Develop a QCA7000 board?

Post by royhen99 »

2275 NCV8402ASTT1G, C77755 in stock. Same part just reel size is 1000 instead of 4000.
User avatar
uhi22
Posts: 609
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 92 times
Been thanked: 415 times

Re: Develop a QCA7000 board?

Post by uhi22 »

Thanks, good to know for the next time. Got feedback, that for U1 and L11 the footprint does not match. Beginners fault. They will not populate, I will add by hand.
explorer232
Posts: 15
Joined: Mon Oct 09, 2023 11:25 am
Location: Slovakia
Has thanked: 3 times
Been thanked: 4 times

Re: Develop a QCA7000 board?

Post by explorer232 »

uhi22 wrote: Thu Oct 26, 2023 5:39 am Thanks, good to know for the next time. Got feedback, that for U1 and L11 the footprint does not match. Beginners fault. They will not populate, I will add by hand.
No problem. I have good skills in soldering so I can solder some components yourself.
User avatar
uhi22
Posts: 609
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 92 times
Been thanked: 415 times

Re: Develop a QCA7000 board?

Post by uhi22 »

The populated boards arrived, but will need some time until all the equipment comes out of the moveboxes...
IMG_20231109_074913.jpg
User avatar
johu
Site Admin
Posts: 5799
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 160 times
Been thanked: 1032 times
Contact:

Re: Develop a QCA7000 board?

Post by johu »

I have started to port your code over to libopeninv so that we have parameters, boot loader and so on

https://github.com/jsphuebner/ccs32clar ... liboi-port

(not yet linking)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
johu
Site Admin
Posts: 5799
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 160 times
Been thanked: 1032 times
Contact:

Re: Develop a QCA7000 board?

Post by johu »

It runs :)

Code: Select all

[103] [ModemFinder] Starting modem search
avail rx bytes: 311
[107] Its a HomePlug message.
[107] [PEVSLAC] received GET_SW.CNF
software version MAC-QCA7005-1.1.0.730-04-20140815-CS 
[151] [ModemFinder] Number of modems: 1
[154] [CONNMGR] ConnectionLevel changed from 5 to 10.
Binary size is 125k
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
uhi22
Posts: 609
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 92 times
Been thanked: 415 times

Re: Develop a QCA7000 board?

Post by uhi22 »

I think it makes sense to use this version for further development. Do we have a beginners manual for this constellation? My questions would be:
- How do I setup the project, consisting of multiple git projects?
- Which build environment is used? Is the STM32 CubeIDE still compatible with this project? Or what are the other possibilities?
- Which options are possible to flash a new firmware? One is the SWDEBUG with STLINK, but how to flash via CAN?
- What tool is required to change parametrization?
User avatar
johu
Site Admin
Posts: 5799
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 160 times
Been thanked: 1032 times
Contact:

Re: Develop a QCA7000 board?

Post by johu »

Happy that you think so.
- The project is generated from stm32-template which links in libopencm3 and libopeninv as submodules. Then I copied your files over
- It's a simple Makefile project. I think CubeIDE is essentially Eclipse. Haven't used it for a while but I think Eclipse can just call Makefiles as well. I use Code::Blocks
- You can flash and debug via SWD as before. Flashing via CAN currently works via python script that can be found here https://github.com/jsphuebner/stm32-CANBootloader/ or via an ESP32 module that talks CAN. You could also hook up an ESP8266 module to the serial port of foccci or a USB serial adapter and the uart-updater.py also found in the boot loader repo
- Parameters, CAN mapping etc. can be changed with Daves tool or also with the ESP32 gadget that will be for sale soon

EDIT: no hooking up to the serial port won't work as long as the debug trace is on there
image.png
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: Develop a QCA7000 board?

Post by Bigpie »

fantastic work. Will have to get one of these boards for the BMW when it gets further down the line and have a think about how it'll integrate with Zombie :D
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
johu
Site Admin
Posts: 5799
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 160 times
Been thanked: 1032 times
Contact:

Re: Develop a QCA7000 board?

Post by johu »

You can basically have Zombie talk CHAdeMO to it :) Plus smuggle battery voltage in there
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: Develop a QCA7000 board?

Post by Bigpie »

It's more the handling of PP/CP. If CP > 5% we're AC charging, switch CP to UHI if DC charging etc.
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
explorer232
Posts: 15
Joined: Mon Oct 09, 2023 11:25 am
Location: Slovakia
Has thanked: 3 times
Been thanked: 4 times

Re: Develop a QCA7000 board?

Post by explorer232 »

uhi22 wrote: Thu Nov 09, 2023 6:53 am The populated boards arrived, but will need some time until all the equipment comes out of the moveboxes...
IMG_20231109_074913.jpg
Super,
so I can make chademo shield to your board now for laboring with ccs to chademo adapter.
Gabriel
Posts: 2
Joined: Tue Nov 21, 2023 12:27 pm
Has thanked: 1 time

Re: Develop a QCA7000 board?

Post by Gabriel »

Hey guys. I have been following the work developed on this topic and I am impressed by the rapid evolution. I would like to use the project as a basis to apply it to a vehicle charger.

The question is: Would it be possible to record the FLASH memory with the firmware of the SECC side? is it possible to change the .PIB like in https://github.com/uhi22/pyPLC#configur ... lc-adaptor?
User avatar
uhi22
Posts: 609
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 92 times
Been thanked: 415 times

Re: Develop a QCA7000 board?

Post by uhi22 »

Very good questions :-) I never tried. Basically I see two ways: Connect the qca via SPI to a linux machine, and read/patch/write the PIB with the qualcom tool. Or: buy a module which is configured as evse (redbeet or so) and make a dump of the SPI-Flash.
Gabriel
Posts: 2
Joined: Tue Nov 21, 2023 12:27 pm
Has thanked: 1 time

Re: Develop a QCA7000 board?

Post by Gabriel »

Yes, both options make sense to me. The first seems simpler and faster to me, as I'm from Brazil and importing the module would cost a lot.

I have already purchased QCA and will probably assemble V1 of your project to evaluate how to change configurations. Using the TL-PA4010 adapters I already changed the PIB and the pyPLC communication worked very well.

Anyway, does anyone here have an EVSE module and could share the contents of the flash memory? :D
User avatar
johu
Site Admin
Posts: 5799
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 160 times
Been thanked: 1032 times
Contact:

Re: Develop a QCA7000 board?

Post by johu »

Where do you guys source the QCA7005 chips?
I consider having a nearby company assemble the difficult stuff on a blank board but I have lost the extra chip uhi had provided :(
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
catphish
Posts: 955
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 94 times
Been thanked: 179 times

Re: Develop a QCA7000 board?

Post by catphish »

johu wrote: Sun Nov 26, 2023 11:06 am Where do you guys source the QCA7005 chips?
Pretty sure the answer is Aliexpress. There are several sellers there offering them. However perhaps Uhi can point to a specific seller as I imagine it's a bit of a gamble what you'll actually get.
Maybe one day we get to the stage where it'll be worth shipping a batch of them to JLC for full assembly :)
User avatar
snelly
Posts: 38
Joined: Sun Dec 26, 2021 11:54 am
Has thanked: 2 times
Been thanked: 7 times

Re: Develop a QCA7000 board?

Post by snelly »

I use logo8! as my connector control as it made for industrial use

https://www.siemens.com/global/en/produ ... dules.html
Post Reply