Hello,
In my project (nRF52, SDK14.2) I have spi data flash connected to the MCU.
I'm trying to use SPI transaction manager library (nrf_spi_mngr) and face few questions:
- Does .ss pin (in nrf_drv_spi_config_t) used in nrf_spi_mngr_init() serves as the chip select nCS?
- If it does -
- How can I drive several spi components of the same spi port (each with a different nCS)?
- If I'm using nrf_spi_mngr_schedule() to schedule a transaction pointing to multiple transfers (nrf_spi_mngr_transaction_t.p_transfers), will nCS be deasserted-reasserted between consecutive transactions ?
- If it does deassert-reassert between transfers, can it be overridden - i.e. sending multiple transfers WITHOUT deassert-reassert in between transfers (like address and then data etc)?
- If it doesn't -
- How do I assert/deassert nCS before/after spi transfer. Do I use .begin_callback/end_callback of nrf_spi_mngr_transaction_t for that purpose?
Thanks.