diegoherranz commented on PR #6528: URL: https://github.com/apache/incubator-nuttx/pull/6528#issuecomment-1214182776
After reading the code again, I think it was an attempt to express always the bit frequency directly. But, for SPI, it wouldn't be divided by 10 either, but by 8. Given that only a few SPI frequencies can be obtained in many MCUs, I find it clearer to define the actual SPI frequency when in SPI mode. I've submitted https://github.com/apache/incubator-nuttx/pull/6849 to revert that behaviour for the SPI mode and explained it in detail in Kconfig. I hope that's OK. Thanks! -- 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