I have the I2C (SMBus) working properly in this uC and have a VB GUI which can communicate over USB (using USBXpress) and do I2C transactions from the uC to a separate IC. The problem is that I am having the uC poll a register on the IC every 1s. When I do an asynchronous GUI I2C transaction, every once in a while, I believe it collides with the polling I2C transaction and all the I2C data gets shifted at the GUI (i.e., register 0x00's data shows up on register 0x01) . The I2C data in the IC looks correct (by spying on the I2C bus with a LA). What exactly is happening and how can I fix this?
i2c on silicon image c8051f32x (using USBXpress)
425 Views Asked by tosa At
1
There are 1 best solutions below
Related Questions in IMAGE
- Add image to JCheckBoxMenuItem
- Display images on Django Template Site
- How to resize images with PHP PARSE SDK
- Animation in Java on top of JPanel
- Slow performance on ipad erasing image
- What are the pros and cons of the picture element?
- Carrierwave file upload with different file types
- How to use annotorious with angular
- Images not showing when uploaded to server
- ImageView doesn't show up
- Image Resizing adjusts ratio
- Displaying bitmap image on Android (OpenCV)
- Class 'Imagick' not found - PHP and Windows
- Image position - randomly select position
- Replace image 1 with image 2 after 5 sec
Related Questions in I2C
- Using camera shutter to trigger MPU6050 on raspberry pi
- Xilinx AXI-IIC Slave Protocol description
- Python bus = smbus.SMBus(1) equivalent in C++?
- Erroneous i2c response from LSM303D to Netduino Plus
- Linux I2C-Dev IOCTL-Call produces wrong message
- Embedded software program block, I2C?
- I2C & SPI driver
- Listening to i2c input changes with python
- Getting the info from MCP23017 with Python
- Python - HowTo unittest i2c device wrapper class
- Linux - Is it necessary to register (instantiate) i2c devices before using them?
- Issue on using both I2C and Serial simultaniously in raspberry pi 2
- what is better using while loop or if statement when checking status codes of atmega 32?
- Register address not sent using I2C in TM4C123GH6PM board
- I2C communication in raspberry pi using python
Related Questions in SILICON
- How to detect Apple Silicon Macs in Cordova App?
- Build static lib for Apple Silicon mac simulator
- Xcode 12 Apple M1 arm64 - Designable error: "wrong architecture"
- BLE 5 peripheral devices are not getting scanned on BLE 5 supported Android phones and iPhones
- i2c on silicon image c8051f32x (using USBXpress)
- Not working java on Mac m2 MacBook Air (any jar sent error)
- mac m1 12.4 with brew arm and x86 versions installed, how do I uninstall the x86 brew
- setting an i2c register to high
- Problem with iOS devices and BLE stack version 02.12
- when I install gitlab-ce through docker on m1 mac mini, it stucks on gitlab::database::migrations
- Apple silicon Macs support issue because of SKOverlay.AppConfiguration
- How to get out of the infinite loop?
- libvirt on Apple Silicon with qemu-system-aarch64
- efm32 - efm32gg380f1024 - rtc features
- Android Studio Bumblebee 2021.1.1 Canary 4 Emulator not working on m1
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If the polling between the uC and I2C is happening over the same I2C bus as that used by your GUI app then you need to make sure that access to the I2C is controlled such that one transaction completes before the other is allowed to begin. Maybe you are doing this already but this is not clear from the question.
Also, posting some code or pseudo code of the uC code might help.