davids5 opened a new pull request #1: imxrt fixes 
URL: https://github.com/apache/incubator-nuttx/pull/1
 
 
   In bringing up the NXP RDDRONE-FMURT6 these issues were discovered and fixed.
   
   -  False detection 
   -  No Detection I2C
   -   System lock up hang due to interrupt storm
   
   Prior to this PR
   
   ```
   NuttShell (NSH)
   nsh>  i2cdetect -b 1
   Scanning I2C bus: 1
        0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
   00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   nsh>  i2cdetect -b 2
   Scanning I2C bus: 2
        0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
   00: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d <HUNG>
   ```
   Top Traces are the I2C IRQ, SPI IRQ and CPU IRQ,
   Big Picture
   
![image](https://user-images.githubusercontent.com/1945821/71307341-c0d34700-23a1-11ea-8c5c-14727fceb0cd.png)
   Focus on Storm
   
![image](https://user-images.githubusercontent.com/1945821/71307356-0263f200-23a2-11ea-8557-a49962a2dd3a.png)
   The Storme rate.
   
![image](https://user-images.githubusercontent.com/1945821/71307363-1e679380-23a2-11ea-862f-0dd36cc39b21.png)
   
   With this PR
   
   ```
   NuttShell (NSH)
   nsh>  i2cdetect -b 1
   Scanning I2C bus: 1
        0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
   00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 0e --
   10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   50: -- -- -- -- -- 55 -- -- -- -- -- -- -- -- -- --
   60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   nsh>  i2cdetect -b 2
   Scanning I2C bus: 2
        0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
   00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1e --
   20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   ```
   
![image](https://user-images.githubusercontent.com/1945821/71307465-c3cf3700-23a3-11ea-91ad-d1e61b45ea53.png)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to