Search found 3 matches

by stm32_noob
Thu Aug 12, 2021 1:15 pm
Forum: General discussion
Topic: Understanding Arduino I2C library for Nucleo-L432KC
Replies: 5
Views: 3348

Re: Understanding Arduino I2C library for Nucleo-L432KC

OK. I've tested and it works on my side. i2C_NucleoL432KC.png Maybe a wiring issue or solder bridge. For example by default SB16 and SB18 are ON so D4/D5 are connected to A4/A5. Just a note about the setSDA and setSCL in your sketch , you don't need to use it as by default D4 and D5 are the default...
by stm32_noob
Thu Aug 12, 2021 2:17 am
Forum: General discussion
Topic: Understanding Arduino I2C library for Nucleo-L432KC
Replies: 5
Views: 3348

Re: Understanding Arduino I2C library for Nucleo-L432KC

fpiSTM wrote: Wed Aug 11, 2021 9:11 pm Do you have pull up resistors on each I2C lines?
Yes I do, 4.7K on each line.
by stm32_noob
Wed Aug 11, 2021 8:47 pm
Forum: General discussion
Topic: Understanding Arduino I2C library for Nucleo-L432KC
Replies: 5
Views: 3348

Understanding Arduino I2C library for Nucleo-L432KC

Hi, I am trying to get the I2C1 bus in master mode up and running on the Nucleo-L432KC board and I can't get it working. I am using the Wire and TwoWire class which don't work with the way I have the code written (below). I have tried setting the SDA and SCL pins using the setSDA() and setSCL() func...

Go to advanced search