Dialog Semiconductor customer support - DA14531 TINY module https://support.dialog-semiconductor.com/resource-keywords/da14531-tiny-module en Social Distancing for DA1469x and DA14531 https://support.dialog-semiconductor.com/forums/post/announcements-and-updates/social-distancing-da1469x-and-da14531 < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

A new page is now available on the Dialog website which contains both the DA1469x and DA14531 Social distancing applications.

The first has been created on top of the SmartBond Wireless Ranging (WiRa) SDK and the other is based on RSSI. DA14531 Social distancing application in also running on the DA14531 TINY Module!

Click here for more details!

Device: 
Tue, 22 Sep 2020 08:09:20 +0000 PM_Dialog 379053 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/announcements-and-updates/social-distancing-da1469x-and-da14531#comments
Codeless I2C does not work properly on DA14531 TINY module https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/codeless-i2c < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

Hi there,

I use DA14531 TINY module with Codeless SDK 6.380.10.4 and factory compiled codeless_531_standalone_set_two.hex image along with TI's HDC1000 sensor. Problems occur when I read or write to sensor registers.

By reading a register, the commands are as follows (see attached console session):

AT+IOCFG=9,7

AT+IOCFG=8,8

AT+I2CCFG=7,100,16

AT+I2CREAD=0x40,0xFE

Here 0x40 is the sensor I2C address, and 0xFE is the sensor register address. This way the 2-byte sensor's manufacturer ID should be read. However, only the 1st ID byte is read and by reading the 2nd byte the module geherates just 8 SCL pulses to the sensor (instead of 9) and hangs. See attached Logic Analyser image. Pull-up I2C resistors are 4.7K, so they are not an issue. After about 3 minutes the module resets itself and prints +READY in the terminal window. All previous configuration of I2C pins is reset and forgotten.

By writing to the senswor config register, the module composes the right number of SCL pulses, but does not compose the STOP condition at the end of communication and leaves the SCL line low. The writing is done by the following command, see the logic analyser image attached:

AT+I2CWRITE=0x40,2,0

where 2 is the sensor register address, and 0 is the value to write.

I also tried other sensors and combinations of 1- and 2-byte registers. Nothing works as expected.

Question: is it a known issue with the module and one should wait for a new firmware release or there is a way to fix it?

Attachment: 
Wed, 26 Aug 2020 19:13:47 +0000 Sergei Bezroukov 375366 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/codeless-i2c#comments