SPI in nrf connect sdk

hi,

I'm using nrf connect sdk to communicate spi sensor.

which is better choice to use SPI in ncs (nrfx driver or zephyr ) ?

i) nrfx_driver: nrfx_spim_init(&spi, &spi_config, spim_event_handler, NULL);

ii) zephyr :      spim_dev = device_get_binding(DT_LABEL(MY_SPIM));

if I want to use zephyr, where can I configure the pins and particularly cs pin?

Parents Reply Children
No Data
Related