RTC example code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RTC example code

358件の閲覧回数
JIBIN_7
Contributor II
スポイラ
 

Hi, I am trying S32K312  microcontroller with external RTC (DS1307) through I2C communication. Is there any examples related to it?

3 返答(返信)

285件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I saw from your previous question that you were referring to Example S32K312 I2C Transmit & Receive Using DMA DS3.5 RTD300

DS1307 is not an NXP product, so there is no project for this device. 0x68 is the I2C address for DS1307. Did you change the Slave address in S32 Configuration Tool?

DS1307 0x68 S32K312_I2C_LPI2C_DMA_working.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

219件の閲覧回数
Mithulesh23
Contributor II

I updated the slave address to 0x68 and tested the same, it is not working. Can you please suggest?

0 件の賞賛
返信

207件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Please don't just tell me this doesn't work, I need more information in order to help you faster.
For example, sending the I2C waveform captured by the logic analyzer allows us to check whether S32K3 sends the correct slave address.

0 件の賞賛
返信