I2C通信不工作当P1_3有限公司nfigured as clock

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
wisilica
Offline
Last seen:10 months 1 week ago
加入:2015-03-17 08:16
I2C通信不工作当P1_3有限公司nfigured as clock

Hi,

I am working on a project wherein the dialog DA 14580 chip communicates with a temperature and humidity sensor via I2C. The testing is performed on the PRO board.
Pin P1_3 is configured as SCL and P0_4 is configured as SDA. I am not able to get the communication proper using these gpio assignments. Now, when I change the SCL configuration to pin P0_7 and SDA is still P0_4, the communication works well and the temperature and humidity readings are proper. Please suggest the reason for the same.

Thanks
Wisilica

Device:
PM_Dialog
Offline
Last seen:14 hours 26 min ago
Staff
加入:2018-02-08 11:03
Hi wisilica,

Hi wisilica,

This might be related to the 16MHz oscillators sensitivity to crosstalk on P1_2 and P1_3. Fast changing signals like SCL might disturb the 16MHz oscillator. Probably that’s the reason why you are not able to get the communication between DA14583 and the sensor when P1_3 is configured as SCL.

Thanks, PM_Dialog

wisilica
Offline
Last seen:10 months 1 week ago
加入:2015-03-17 08:16
Hi,

Hi,
Thanks for the reply. I am using DA 14580 and not 14583 as you have commented. Will the reason for the behavior be the same for both 580 and 583 ?

Thanks
wisilica

PM_Dialog
Offline
Last seen:14 hours 26 min ago
Staff
加入:2018-02-08 11:03
Hi wisilica

Hi wisilica

I wrote DA14583 by mistake. I meant 14580, so I’m sorry for that. By the way the reason for the behavior would be the same for both DA14580 and DA14583.

Thanks, PM_Dialog