Page 9 of 29
Re: Develop a QCA7000 board?
Posted: Wed Oct 25, 2023 6:57 am
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.
Re: Develop a QCA7000 board?
Posted: Wed Oct 25, 2023 10:54 am
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?
Re: Develop a QCA7000 board?
Posted: Wed Oct 25, 2023 11:11 am
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
Re: Develop a QCA7000 board?
Posted: Wed Oct 25, 2023 11:54 am
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

Re: Develop a QCA7000 board?
Posted: Wed Oct 25, 2023 12:20 pm
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
Huge thanks to uhi22 for the kind offer!
Re: Develop a QCA7000 board?
Posted: Wed Oct 25, 2023 2:16 pm
by uhi22
Great, added you to the reservation list.
Re: Develop a QCA7000 board?
Posted: Wed Oct 25, 2023 9:22 pm
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.
Re: Develop a QCA7000 board?
Posted: Wed Oct 25, 2023 10:05 pm
by royhen99
2275 NCV8402ASTT1G, C77755 in stock. Same part just reel size is 1000 instead of 4000.
Re: Develop a QCA7000 board?
Posted: Thu Oct 26, 2023 5:39 am
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.
Re: Develop a QCA7000 board?
Posted: Thu Oct 26, 2023 8:14 am
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.
Re: Develop a QCA7000 board?
Posted: Thu Nov 09, 2023 6:53 am
by uhi22
The populated boards arrived, but will need some time until all the equipment comes out of the moveboxes...
Re: Develop a QCA7000 board?
Posted: Sun Nov 12, 2023 5:26 pm
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)
Re: Develop a QCA7000 board?
Posted: Mon Nov 13, 2023 10:16 am
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
Re: Develop a QCA7000 board?
Posted: Mon Nov 13, 2023 12:34 pm
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?
Re: Develop a QCA7000 board?
Posted: Mon Nov 13, 2023 1:15 pm
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
Re: Develop a QCA7000 board?
Posted: Mon Nov 13, 2023 1:41 pm
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

Re: Develop a QCA7000 board?
Posted: Mon Nov 13, 2023 2:02 pm
by johu
You can basically have Zombie talk CHAdeMO to it

Plus smuggle battery voltage in there
Re: Develop a QCA7000 board?
Posted: Mon Nov 13, 2023 2:05 pm
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.
Re: Develop a QCA7000 board?
Posted: Wed Nov 22, 2023 2:30 pm
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.
Re: Develop a QCA7000 board?
Posted: Wed Nov 22, 2023 11:32 pm
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?
Re: Develop a QCA7000 board?
Posted: Thu Nov 23, 2023 8:12 am
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.
Re: Develop a QCA7000 board?
Posted: Thu Nov 23, 2023 11:56 am
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?

Re: Develop a QCA7000 board?
Posted: Sun Nov 26, 2023 11:06 am
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

Re: Develop a QCA7000 board?
Posted: Sun Nov 26, 2023 11:28 am
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

Re: Develop a QCA7000 board?
Posted: Sun Nov 26, 2023 12:17 pm
by snelly
I use logo8! as my connector control as it made for industrial use
https://www.siemens.com/global/en/produ ... dules.html