You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "michallenc (via GitHub)" <gi...@apache.org> on 2025/06/02 07:19:09 UTC

[PR] arch/arm/src/samv7/sam_serial_spi.c: set correct SPI mode during init [nuttx]

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

   ## Summary
   Bitfield `CPHA` has to be set to run SPI in mode 0. This is a default mode, therefore it should be set during the peripheral initialization.
   
   ## Impact
   
   Samv7 only. SPI on USART is now initialized in a correct mode.
   
   ## Testing
   
   Tested against icjx io expander. The mode selection is now correct also according to an oscilloscope (previous behavior had data change on leading edge and sampled on falling edge)
   
   
   


-- 
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] arch/arm/src/samv7/sam_serial_spi.c: set correct SPI mode during init [nuttx]

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


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