i want to implement 2 hardware SPI communication in my code. i have one already working. talking with LCD ILI9341. the functions are using spi_write / nrf_drv_spi_transfer for a single interface. what do i need to do to add another (4 pin) SPI interface to communicate with accelerometer. do i need to change it to SPI1 and then duplicate everything to SPI2 ?
thanks
Yuval