Page 1 of 1

GD32f103 and I2C

Posted: Fri Nov 19, 2021 12:53 am
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 !

Re: GD32f103 and I2C

Posted: Fri Nov 19, 2021 1:51 am
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.

Re: GD32f103 and I2C

Posted: Fri Nov 19, 2021 5:47 pm
by FGS
Thanks for the answer - i was afraid i missed something not reading the forum for one entire year :)

Re: GD32f103 and I2C

Posted: Fri Nov 19, 2021 7:30 pm
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!