i2c Slave address was not acknowledged.
Hi Team,
I am using Windows 10 OS, when I tries to communicate i2c slave from UPBoard it will through an error like " Slave address was not acknowledged ". Slave device is working fine and tested slave device on Arduino nano board.
can you please help me how to solve this problem.
Comments
-
@Devi
Do you have the UpFramework installed? If not, please visit the link below to find instructions on win demo apps
https://github.com/aaeonaeu/win-demo-apps -
When I am trying to install AAEON drivers my system got hanged and also post that problem on UP Community but it didn't solve so I used " Windows.Devices.Gpio/SPI/I2C " library files in my project.
-
@Devi
Please check the questions below
1. Have you install Chipset driver on your UP?
2. If not, please reinstall the driver.
3. if you get an error form Setup.exe, please try to move the WIN10_64 folder to desktop and try it again
4. Please enable "Developer mode" in Windows 10, then install the UpFramework & UpI2cTestTool app
5. Connect your I2C device to HAT pin 3 (SDA) & pin 5 (SCL), I/O level is 3.3V
6. Try to use it with UpI2cTestTool, I2C default speed is 400khz -
When I am trying to install Chipset driver on your UP it throws an error even after reboot the system also .
I tried to install the UpFramework on that time system got hanged or OS had crashed even i tried on clean OS also, not only one time it repeats on every time. https://forum.up-community.org/discussion/4656/system-got-hanged-when-installing-latest-sdk#latest
i have tried to follow those steps mentioned in link https://annabooks.com/Articles/Articles_IoT10/Windows-10-IoT-UP-Board-BIOS-RHPROXY-Rev1.3.pdf,
individual drivers inside the folders of (UART/SPI/GPIO etc..)using .inf files on that time it had installed and SPI & GPIO works but i2c not work. -
@Devi
The link (https://annabooks.com) is not our release.
Please provide your OS information. You can find Windows 10 build number & version in Winver
About the Chipset driver fail, please move the "WIN10_64" folder or all files (drivers, x64, Config.xml, Setup.exe) to desktop, and try to install again. -
I had copied the all files (drivers, x64, Config.xml, Setup.exe) to desktop, and installed but no change.
-
@Devi
I can install the driver on my UP and able to dump the content of an I2C device with no issues.
Win10 1809 (OS build 17763.107), UpFramework Version is 17.51.55.870So, please check your OS or try to use the latest version of windows 10
-
where can I get UpFramework Version is 17.51.55.870? could you please refer the address link. we are facing an issue when installing V21.04.22.
-
@Devi
You can find the UpFramework driver info in the Device Manager. V21.4.22 is equal to 17.51.55.870
And you can download the driver from the UP community Downloador click the link below to download the driver & Demo apps
UpFrameworkSetup-210422, the file size is 1.61MB
Demo apps -
I have installed the UpFramework & UpI2cTestTool app as mentioned in the above comments and connected the HMC5883L(0x1E) i2c device to the Upboard.
But, I could not able to run the commands like i2cdetect, i2cget, i2cset etc.I have connected Vcc to 3.3V and GND to GND.
Connected SDA and SCL pins to 3th and 4th pins and also tried it on 27th and 28th pins.
Still this error remain the same.
Please help me in running those commands. -
i am successfully Upgrade UP BIOS version R2.3 (UPC!DM23).
And Install UP CHIP
-set DRivers and latest UP Framework SDK but still facing same issue on i2c test tools and one thing fixing i2c clock freq on BIOS is 400KHz but in the code we are getting clock freq is 100KHz. is tehre any thing missing?
pin Connections :