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

   ## Summary
   
   The mcp47x6 DAC driver failed to send configuration commands with the proper 
prefix.
   Thus, configuration commands were misunderstood as DAC write requests, which 
were rejected due to being to short (one byte instead of two).
   
   In effect the ioctl-based configuration (reference, power-down and gain) was 
not applied before. 
   
   ## Impact
   
   The configuration command is now properly prefixed with the command bits for 
"set volatile configuration".
   
   ## Testing
   
   Compilation and the configuration behavior was tested on an rp2040 board.
   
   Now the configured DAC value corresponds to the effective resulting voltage. 


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