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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org