the slave modes for I2C and SPI

5 posts / 0 new
Last post
Bean
Offline
Last seen:3 years 4 months ago
加入:2014-07-24 08:51
the slave modes for I2C and SPI

Hi,Dialog!

After I downloaded DA14580_SDK_3.0.4.0 and DA1458x_SDK_3.0.6 from your website,but did not find the example codes for the slave modes of I2C and SPI.

Now I need to learn about them. Can you give me same example codes about these?

Thank you.

RvA
Offline
Last seen:5 days 14 hours ago
工作人员
加入:2014-02-07 14:10
Hi Bean,

Hi Bean,

We support I2C slave mode but we do not have example code for this. It also depends very much what you would like the DA14580 to do being a slave device. Could you explain a little bit more?

Thanks and best regards,

RvA(Dialog)

Bean
Offline
Last seen:3 years 4 months ago
加入:2014-07-24 08:51
嗨,RvA !

嗨,RvA !
I'm sorry to answer your question. My costomer needs this slave device. Can you help me?

Bean
Offline
Last seen:3 years 4 months ago
加入:2014-07-24 08:51
Hi,Dlialog!

Hi,Dlialog!
Can you help me these doubts?
1、In the slave, how to start the interrupt? Which register
2、In the slave,how do I know that the master wants to read from the slave or wrte to it? Which register?

Thank you very much!

yassin.bennaceur
Offline
Last seen:5 years 6 months ago
加入:2015-04-10 15:32
I am struggling with the same

I am struggling with the same thing. more specially with sending more than one byte on the i2c when DA is the slave and the master is another processor.