Closed ldicdican closed 1 year ago
We already have a variant of that: https://github.com/CommunityGD32Cores/ArduinoCore-GD32/tree/main/variants/GD32350G_START
What exactly is your chip / board?
My chip is GD32F350CBT6 has USBFS support, HDMI and DAC, is it compatible with GD32350G? Took a peek on the 350G pin definitions and didn't find the USBFS pin define. Sorry for my being ignorant on this.
USB is a whole different matter, this core does not yet have any USB capability. (But SPL projects like this would have). USB functionality is worked on separately as that is a whole different beast.
The "GD32350G-START" board has a GD32F350G8 chip on it. According to GD32F350xx_Datasheet_Rev1.5 page 9+10 the chips have the same peripherals as a CB but different number of total GPIO pins due to their package and larger flash + SRAM. It should be relatively easy to at least setup a blinky test for your board.
Does you board have an on-board high speed crystal (8MHz)?
Actually, this chip is not on a dev board, it is on a broken vape(e-cigar) unit given to me by a friend. I was amazed that this device uses GD32 ARM M4 procie, which has LCD, buttons and some sort of sensor (?). It even has programming (SWD) pins which I labeled based on its datasheet.
I just wanna play around with this chip since I have a clone ST-Link which I use on my first bluepill board.
Thank you very much for your help and maybe I will just tinker on the GPIO pins and will ignore/keep out of my mind about the USB functionality. Btw it has also DAC, I2S, and TSI.
Arduino core aside, you may just want to try out https://github.com/CommunityGD32Cores/gd32-pio-projects/tree/main/gd32-spl-blinky with regards to uploading and debugging. (That is, with board = genericGD32F350CB
in the platformio.ini
)
And yes, the X1 component looks like a crystal so it should have a HSE.
Thank you Max, will let you know if I have successfully make it work with ST-Link(uploading) and this gd32-spl-blinky sample.
Please add support on this m4 gd32 chip - GD32F350. Thanks.