Page 1 of 1

Stm32wl5moc - I2C

Posted: Mon Oct 28, 2024 6:45 pm
by fabltd
Hi All

I am using an STM32WL5MOC - https://www.st.com/en/product/stm32wl5m ... &id=UM3127

I cannot seem to get the basic wire interface to work. I have the B-WL5M-SUBG1 development board and it has as 5 x I2C componets. https://www.st.com/resource/en/user_man ... ronics.pdf -- page 25

I am running the basic I2C scanner sketch and it finds nothing.

What am I missing.

I have tried to initialise Wire with the correct GPIO pins - PA11 and PA12.

Next step is the logic analyser to see if there is anything on the pins.

It seems like some kind of config error but not sure where?

Re: Stm32wl5moc - I2C

Posted: Mon Oct 28, 2024 7:33 pm
by fpiSTM
Which board you select? This mcu is not supported yet.

Re: Stm32wl5moc - I2C

Posted: Tue Oct 29, 2024 7:45 am
by fabltd
Yes it is - the mcu is a stm32wl55jc the moc is a package with extra parts for the radio. This is all in the data sheet see link in original post.

Re: Stm32wl5moc - I2C

Posted: Tue Oct 29, 2024 9:04 am
by fpiSTM
Yes but it has its own definition:
https://github.com/stm32duino/Arduino_C ... xx/WL5MOCH
and it is actually not supported.
Maybe it could work with WL55JC definition but which one you used the Nucleo? The generic ?