6 years, 10 months ago.

ACD52832 - I2C connection isn´t working

Dear all, I bought the aconno ACD52832 board and have the following problem: It works really well but after I tested the sensor on another PC there seems to be a problem with the I2C-connection for the MEMS-Sensor (LSM9DS1) and the board itself (MCP23017). I can print something on the display (GDEP015OC1) so the SPI-connection seems so be alright. The display is only working when the LSM9DS1 and the MCP23017 aren´t used. There is an Error at the line "#include MCP23017.h": Error in include chain (MCP23017.h): no matching constructor for initialization of 'mbed::I2C' I uploaded the main.cpp and the output in Keil uvision.

/media/uploads/EvaKemkes/main.cpp /media/uploads/EvaKemkes/output.txt

Next problem is that the sensor is not showing up as a storage device also not in the disk managment but it is in the device Manager. This problem comes up while I tried to fix the first problem so it isn´t the reason for the failed I2C-connection. I think the problem here is that I did an erase with the jlink software but I can´t reverse this. The Driver is up to date. Anyway the display is still working.

Maybe a pin reset is helpful. I tried it with the nrfjprog command line in keil uvision (customize tool menue) with the Argument "-p -f NRF52". After execution the build Output Shows this Information "Applying pin reset". But nothing happens after that.

I´m using Keil Uvision 5, installed the nrfjprog command line, Jlink software and the nrf52 device Family pack (always the latest Version). As I said it worked good before I tested it on another PC.

Many thanks for your help in advance! Best regards, Eva

Question relating to:

aconno development team

Hi Eva, hope you are fine. Have you solved the problem ? I encountered a similar one. After working with I2C and the LSM9DS1 for a couple of days it suddenly does not work anymore and I get errors regarding the I2C bus. Cheers, Mark

posted by Mark Thielen 13 Nov 2017
Be the first to answer this question.