GD32f103 and I2C

Post here first, or if you can't find a relevant section!
Post Reply
FGS
Posts: 13
Joined: Mon Jun 08, 2020 5:48 pm

GD32f103 and I2C

Post by FGS »

Hello everyone,

i rencently bought some gd32f103cBt6 to replace the quite pricey stm32 :)

I just drop the gd on a custom dev card i have - running with a 8MHz crystal. I had no problem uploading my sketch, working with the GPIO and the SPI but not with the I2C. I know it must be related to the timing difference, so would it work with a 12MHz crystal ?

Thanks for the help !
mrburnette
Posts: 633
Joined: Thu Dec 19, 2019 1:23 am
Answers: 7

Re: GD32f103 and I2C

Post by mrburnette »

I did a bit of research and there are numerous reports of "strangeness" with the clone parts.

A "blue pill" test suite:
https://github.com/thanks4opensource/buck50

Clone die:
https://zeptobars.com/en/read/GD32F103C ... ga-Devices


My own trip down cloneville:
viewtopic.php?f=21&t=441


Ray

PS: Roger became so frustrated with the early Gigas that he pulled the support code out of the GitHub.
FGS
Posts: 13
Joined: Mon Jun 08, 2020 5:48 pm

Re: GD32f103 and I2C

Post by FGS »

Thanks for the answer - i was afraid i missed something not reading the forum for one entire year :)
mrburnette
Posts: 633
Joined: Thu Dec 19, 2019 1:23 am
Answers: 7

Re: GD32f103 and I2C

Post by mrburnette »

FGS wrote: Fri Nov 19, 2021 5:47 pm Thanks for the answer - i was afraid i missed something not reading the forum for one entire year :)
I do not think you have missed any critical items, but there have been numerous unhappy "clone" owners that have complained. Best to avoid these "almost similar" products unless you are just blinkin' LEDs!
Post Reply

Return to “General discussion”