-
Notifications
You must be signed in to change notification settings - Fork 28
Hardware versions
Not all ZY12PDN boards are born equal. Please help the document the different versions. Edit the page and add additional information.
The original version is likely from YZXStudio and features a STM32F030F4 microcontroller with a Cortex-M0 CPU, 48 MHz clock, 4 KB of RAM and 16 KB of flash in a TSSOP20 package. Close to the USB-C connector, it says "ZY12PDN" and "YZX" in silver.
Later versions have a Chinese XM1008F6P6 microcontroller, which seems to be a 1-to-1 replacement for the STM32 microcontroller. The microcontroller is in a TSSOP20 package as well. The the "ZY12PDN" and "YZX" labels are also present.
The code works without modification.
Some boards use a HK32F030F4 microcontroller, which likely is a 1-to-1 replacement for the STM32 microcontroller. The microcontroller is in a TSSOP20 package as well.
The code works without modification.
The ZYPDE board from YZXStudio looks like a successor to the ZY12PDN. It supports additional modes incl. UDB PD 3.0 and 120W. It uses a GigaDevice GD32E230F8V6 microcontroller. It's a more capable microcontroller with a Cortex-M23 CPU, 72 MHz clock, 8 KB of RAM and 64 KB of flash in a small LGA20 package.
This code certainly will not work on this board.
It is even unclear how it would be uploaded since there are no debugging pads on the back side.
According to the GD32E230F8V6 datasheet, the SWDIO pin is available on pin PA13 (pin 16 for the LGA20 package) and SWCLK is also present on pin PA14 (pin 17 for the LGA20 package). And looking at the ZYPDE picture above, SWDIO/PA13/pin 16 is connected to the TH D+ pad, and SWCLK/PA14/pin 17 to the TH D- pad.