I'm trying to interface with the ds1339 real time clock to set and read the time for timestamping tasks in ncs 1.8.0. I've found a few tutorials that boil down to:
3. create a driver
CONFIG_I2C_1=y
I'm trying to interface with the ds1339 real time clock to set and read the time for timestamping tasks in ncs 1.8.0. I've found a few tutorials that boil down to:
Hello,
there is no driver for ds1339, so that will most likely not work, unless you create one yourself. You can try the ds3231 driver, and use the zephyr\samples\drivers\counter\maxim_ds3231 sample. It's possible that you need to make some modifications to the zephyr\drivers\counter\maxim_ds3231.c file in order for it to work.
Hello,
there is no driver for ds1339, so that will most likely not work, unless you create one yourself. You can try the ds3231 driver, and use the zephyr\samples\drivers\counter\maxim_ds3231 sample. It's possible that you need to make some modifications to the zephyr\drivers\counter\maxim_ds3231.c file in order for it to work.