You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/11/21 15:34:45 UTC

[GitHub] [incubator-nuttx] Cynerd opened a new pull request, #7643: drivers/lcd/st7789: fix invalid displayed color

Cynerd opened a new pull request, #7643:
URL: https://github.com/apache/incubator-nuttx/pull/7643

   
   
   ## Summary
   The write has to be in number of bytes per pixel as single SPI exchange is used to identify single pixel write by the ST7789 driver. By issuing only byte writes the displayed color is corrupted as it is stripped.
   
   This fix consist of setting SPI to correct number of exchanged bytes and then passing correctly number of words to the SPI exchange.
   
   This also covers usage of st7789_wrram in st7789_putrun as that one was passing just number of pixels as size but the correct is now number of bytes.
   
   ## Impact
   The color is now correctly propagated as 16 or 12 bits to the ST7789.
   
   ## Testing
   Tested on custom board with samv70 and ST7789.
   


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


[GitHub] [incubator-nuttx] acassis merged pull request #7643: drivers/lcd/st7789: fix invalid displayed color

Posted by GitBox <gi...@apache.org>.
acassis merged PR #7643:
URL: https://github.com/apache/incubator-nuttx/pull/7643


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