i2c in two cores

guhof1822
Posts: 1
Joined: Wed Aug 21, 2019 2:50 pm

i2c in two cores

Postby guhof1822 » Wed Oct 09, 2019 5:07 pm

Hello everyone,

I am using two tasks, one in each core of esp32 wroom . Both tasks using the same i2c channel, EEPROM and ds3231. But when i write a single float number in eeprom, with the other task in 'delay', the DATE of ds3231 is changed. I have sure that I write in EEPROM when the other core are in 'delay', the is no conflict in i2c channel. Why the DATE of ds3231 is changed ??

mikemoy
Posts: 604
Joined: Fri Jan 12, 2018 9:10 pm

Re: i2c in two cores

Postby mikemoy » Fri Oct 11, 2019 12:46 am

How could anyone possibly answer that without you posting code ?

lbernstone
Posts: 659
Joined: Mon Jul 22, 2019 3:20 pm

Re: i2c in two cores

Postby lbernstone » Fri Oct 11, 2019 2:55 pm


Who is online

Users browsing this forum: frank0 and 53 guests