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

Interfacing two slaves on spi master

Greetings to all,

I am working on a project where i need to interface both the SD card and the OLED Display with ble altogether. I am able to do so individually. But i want to know how to do it together, the code together are building and flashing on a single project without any doubt.

But, i need to know how to do slave select on both of these.

I am working on nrf51422, with 12.2.0 SDK.

Thank you.

Parents Reply
  • Hello, i am following the third step, as it is best suited for me, although i am getting an error in the line:-

    volatile spi_control_block_t * my_setup = mw_spi_instance.drv_inst_idx;

    its saying that "mw_spi_instance" is not declared or is unidentified. As i believe, it is function for nrf52, which is certainly not mapping. If i ma right, can u redirect to the correct replacement of this for my nrf51 as i m working on nrf51422.

    Thank you in advance.

Children
No Data
Related