DS1307 problem

DS1307 problem

Postby RKS » Sat Aug 29, 2020 12:33 pm

Hi all,
i am facing problem while writing address location and data on I2C driver.I am using MPLAB harmony v3 generated I2C driver to set the data on DS1307(RTC).
DRV_I2C_WriteTransfer( const DRV_HANDLE handle,uint16_t address,void* const writeBuffer,const size_t writeSize) using this function i need to set time on rtc, but in function argument there handle,slave address(as 0xD0 when write), data buffer, and size of data buffer.kindly some one guide me how to write memory address along with data using this function.
RKS
 
Posts: 1
Joined: Sat Aug 29, 2020 12:16 pm

Return to SSP (IIC, SPI)

Who is online

Users browsing this forum: No registered users and 9 guests

cron