openwch / arduino_core_ch32

Core library for CH32duino
248 stars 41 forks source link

CH32X035 I2C is disabled. Why? #64

Closed kklam4697 closed 6 months ago

kklam4697 commented 6 months ago

HI I found CH32X035 I2C is disabled. If uncomment it, the will pass complie(Not yet download to the bord). May I know if any bug found for CH32X035 I2C? Thanks

image

image

maxint-rd commented 6 months ago

Some time ago another user encountered this too. I had the same with SPI on the CH32V003. That user noted I2C (master mode) works on the CH32X035 when enabled. See also issue #26 and #29 here.

maxgerhardt commented 6 months ago

Are you sure that you have won the silicon lottery? See the X035 datasheet.

grafik

kklam4697 commented 6 months ago

Are you sure that you have won the silicon lottery? See the X035 datasheet.

grafik

HI, I also found that issue. I just call WCH, They told me for newer patch of chip will not have that issue. We should not able to buy such old patch of chip in the market

TianpeiLee commented 6 months ago

To verify this function, a corresponding version of the chip needs to be used here.