cancel
Showing results for 
Search instead for 
Did you mean: 

i2c with stm32u083

skc
Visitor

Initialization issues, i2c communication with ccs811(air quality indicator module) using stm32u083cc mounted/swapped on stm32f411(blackpill) board. Only the hdc1080(RH/Temp) board connected on the same lines works.

Strangely, with stm32f411ce mounted on blackpill the same code works w/o any issues and I could read data from hdc1080 and well as ccs811.

In both the cases the initialization code was generated by stm32cubeMX. The code generated for 32f411 makes sense.

The i2c init code generated for 32f411 in -MX is very different from 32u083. Tried changing rise/fall time, digital filter coeff(0-15), enabling/disabling analog filter/no-stretch.

0 REPLIES 0