This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Hardware CSN handling in NRF52840

Hey I'm doing some SPI transfer in response to a GPIOTE in event. I'm targeting the NRF52840 and kind of went with the following answer:

https://devzone.nordicsemi.com/f/nordic-q-a/18645/no-slave-select-on-spim-xfer-using-ppi-and-gpiote

In believing that there's no automatic handling of the CSN pin (SS). But I'm reviewing the nrf52840 documentation more closely and seems like hardware CSN support was actually added. But is seems like the SPI library hasn't been updated to take advantage of that hardware feature? Any suggestion on how to setup that up while still mostly using library functions? Is that even possible?

Also I'm correct in my reading that there are 16Mhz and 32Mhz modes now in the nrf52840? Same question if there's an easy way to enable those?

Related