2018-10-21 12:22 PM
Dear STM32 Users,
I have a DS3231 module connected to my board, with SCL wired to PB_6 and SDA wired to PB9, per specification. I configured the project with STCube.
I see no signal on PB_6. Can anyone advise?
Code is attached. main.c contains the logic, stm32fxx_hal_msp.c contains the auto-generated configurations, and ds3231.c reads the DS3231 and decodes the date and time.
Please forgive me if I have violated any norms in this post. Thank you all in advance.
All my best,
Eric
2018-10-21 12:48 PM
A Nucleo-F767ZI or something of your own creation? Why PB6 ?
PB8 and PB9 are the I2C pins on the top of the Arduino connector.
It is generally preferred to post multiple files as a single ZIP archive.
2018-10-21 01:23 PM
Regarding the DS3231,
the last time I checked, we were still accurate ( within 1 minute)
after 12months in the field...