iot
2 TopicsI2cDevice class / Method WriteReadPartial issuing "unknown error"
Hello community, I'm currently working on an Intel Atom E39340 platform with Windows 10 IOT 2021 LTSC installed on it. The Read and Write methods of the I2cDevice class everything are working just fine. Nevertheless, one of my sensors needs a Write+Read access (Start / Write / Restart / Read /Stop) to access some registers. When I use the WriteRead(byte[] writebuffer, byte[] readbuffer) I get a System.Argument.Exception:'The parameter is incorrect'. (which is really weird because its compiling). When I use the WriteReadPartial(byte[] writebuffer, byte[] readbuffer) method to get the error code the result is 4 (i.e Unknown error). Overall, nothing happens on the I2C bus. I have explored the online documentation but can't find a lead... https://docs.microsoft.com/en-us/uwp/api/windows.devices.i2c.i2cdevice.writereadpartial?view=winrt-22621 Does anyone has ever experienced this ? Thanks a lot for your feedback. Best regards.Solved1.3KViews0likes1CommentJoin & ask questions Monday 9am-10am PT, July 20 for Deep Dive: #WindowsIoT!
Join & ask questions with our amazing speakers next Monday 9am-10am PT for Deep Dive:#WindowsIoT! https://aka.ms/deepdive/windows-iot(iCal on page) Michael Bervellfrom Windows IoT team showcasing what is next for Windows for IoT & answering the top questions from the community. (Raspberry Pi, vNext, etc) Amelia Cascioladoing a technical demo of the new ARM64 support. Plus, giving top tips on creating apps! Henry FiegleinfromDover Fueling Solutionsshowcasing a real world solution that delivers personalized experiences in content and targeted advertising, right at the gas pump! #iot#azureiot#windows10#Developer#IoTArchitect#RealWorldScenario1KViews1like0Comments