How to configure ds3231 RTC module with seven PIC16f72 MCUs

Post your requests and ideas on the future development of mikroC.
Post Reply
Author
Message
cmshafi
Posts: 1
Joined: 03 Aug 2015 10:33

How to configure ds3231 RTC module with seven PIC16f72 MCUs

#1 Post by cmshafi » 03 Aug 2015 17:50

I want to connect DS3231 RTC module with seven PIC16f72 MCUs using I2C Multi Master/Slave mode. My pcb already assembled and tested with the MikroC coding with soft_I2C libray. the DS3231 RTC module with single chip of PIC16f72 works well, read and write perfectly. But malfunctioning when I try to connect two or more PICs. so I think it need to configure well, one chip in Master mode and other are slave mode. but I don't know how to set these. please help. how can i set Master mode and Multi slave mode? how can I assign address for each slave PIC chip?

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: How to configure ds3231 RTC module with seven PIC16f72 M

#2 Post by filip » 25 Aug 2015 10:50

Hi,

Please, have a look at this code :
http://www.libstock.com/projects/view/9 ... rature-i2c

Regards,
Filip.

Post Reply

Return to “mikroC Wish List”