MattWestb / EFR32-FW

EFR32 dev firmware for different projects
GNU General Public License v3.0
33 stars 8 forks source link

ZS3L Pinout #5

Open Alexandros89 opened 8 months ago

Alexandros89 commented 8 months ago

Hi, I should flash your firmware on moes gateway that have the ZS3L zigbee module, how can I flash it? Through serial?

MattWestb commented 8 months ago

If it the same as tuya ZBGW you can using serial and software command for booting the module in bootloader mode. If the file is S37 file format you need converting it to GBL with silabs commander for getting the bootloader accepting it. And if its not starting OK you is having one soft bricked device if its not starting in bootloder mode then you cant forcing it to ti and need using SWD probe for flashing one working firmware (the bootloader shall being OK and dont need being flashed agen only the app).

Alexandros89 commented 7 months ago

I'm trying but I can't read anything in the serial console. I don't know if I'm doing it wrong to choose the right pin in the board

MattWestb commented 7 months ago

Post one photo from the device PCB so i can see if the connections looks OK.

Alexandros89 commented 7 months ago

This is the board

20231128_221420.jpg

This is the pinout

SmartSelect_20231128-221556_Edge.jpg

This is how I have interpreted it

20231128_221635.jpg

Looking also the details of the module, it use ( EFR32MG21A020F768IM32-B. The EFR32MG21 is used in other gateway that works with zigbe2mqtt

MattWestb commented 7 months ago

With tuya never taking for granted that they is doing things by there own standard so it can being they have using different pins on the module. If its not "fixed" look with one good voltage meter or logic analyzer if some com is happening also with one TTL-USB shall being possible nut not so easy.

The ZS3L is one good module that i running RCP and other Thread firmware on and its working great.

MattWestb commented 7 months ago

You have 2 traces going from the module in the direction to the Eth connector look if you can see witch pads is using on the module if its possible to see.

Alexandros89 commented 7 months ago

I have checked with a voltage meter the gnd and the 3.3v and I can assure the gnd pin. I don't know how to verify the tx and rx. How have you installed thread firmware, I have an other board with only the zs3l and I want to change it. And RCP stands for?

Alexandros89 commented 7 months ago

image.png

What pin should go to the eth ?

MattWestb commented 7 months ago

No its on the PCB (Printed Circuit Board) on the photo you can see the small copper liens going Tuyamodule they can have using all pings without the power, reset and one of the debug line that is fixed.

RCP = Radio Co Processor and the normal Zigbee is NCP = Network Co Processor firmware. RCP is used then running Zigbee and thread on the same chip then both is using the same underlying network standard.

Alexandros89 commented 7 months ago

I have checked better and tx rx are the in the opposite side. I have tried to check all the pin of zs3l with eth connector but nobody is connected

Alexandros89 commented 6 months ago

20231227_220131.jpg

Hi, I'm trying this board i can't read anything from serial, I'm using the pin first 2 pin on the left. But I'm not sure that is the correct pin

MattWestb commented 6 months ago

If done standard it shall being that but its looks its no soldering pads under them so likely they have using some other pads. Try pad 3 and for and also 6 and 7 they is connected to the main PCB. Both pairs is going to the other module so likely R/TX and HW flow control pins by tuya standard (they is recommending HA FC).

Alexandros89 commented 6 months ago

20231228_224631.jpg

I read something but like this 😑

MattWestb commented 6 months ago

If looking on the WiFi module its using the UAART0 https://developer.tuya.com/en/docs/iot/wbrg1-module-datasheet?id=Ka015vo8tfztz. And its looks normal communication between the modules so it shall being OK. But you cant using the comport as long the WiFi module is using so need hacking the WiFi module for getting it working (or holding it with hardware reset on it if its possible for getting one clean com to the Zigbee module).