You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "sumpfralle (via GitHub)" <gi...@apache.org> on 2026/01/21 11:25:39 UTC

[PR] drivers/analog/mcp47x6: fix configuration command [nuttx]

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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] drivers/analog/mcp47x6: fix configuration command [nuttx]

Posted by "GUIDINGLI (via GitHub)" <gi...@apache.org>.
GUIDINGLI merged PR #18081:
URL: https://github.com/apache/nuttx/pull/18081


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org