michallenc opened a new pull request, #19571:
URL: https://github.com/apache/nuttx/pull/19571

   ## Summary
   The reference manual (section 3.2.1) states the user has to read `GLERR` and 
`INTERR` registers to clear their bits and release ERR pin after the startup 
sequence. Error bits are set to 1 after the startup if external power supply is 
used.
   
   Not clearing the bits leads to subsequent read call errors if VBB errors are 
checked.
   
   ## Impact
   Reading the data after startup doesn't return error for first two calls (one 
clears `GLERR`, other `INTERR`) anymore.
   
   ## Testing
   With a simple application that reads from the expander. First two reads 
after the boot failed before the change, the issue is not present anymore.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to