Not applicable
Mar 17, 2016
03:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 17, 2016
03:25 PM
I have the problem with I2C. I want to communicate with STM LSM9DS1 by means of RelaxKit. It is strange but when I run embedded application in debug mode it works however if I run embedded application in normal mode it does not work.
Do you have any idea what is the reason. If I analyse I2C signal in debug mode by means of Logic Analyser I can see that there is a I2C signal unfortunately if I try to run it in normal mode it does not work...............
If you have some suggestions please tell me. Every information is highly appreciated.........
Do you have any idea what is the reason. If I analyse I2C signal in debug mode by means of Logic Analyser I can see that there is a I2C signal unfortunately if I try to run it in normal mode it does not work...............
If you have some suggestions please tell me. Every information is highly appreciated.........
1 Reply
Mar 23, 2016
02:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 23, 2016
02:24 AM
Hello,
Are you able to determine at which instance did the I2C communication fails?
For example, start condition is not generated, start condition is generated and slave address sent but no acknowledge is received, etc.
Also, when testing in debug more, do you mean it works only if you single-step through the code?
Regards,
Min Wei
Are you able to determine at which instance did the I2C communication fails?
For example, start condition is not generated, start condition is generated and slave address sent but no acknowledge is received, etc.
Also, when testing in debug more, do you mean it works only if you single-step through the code?
Regards,
Min Wei