Need SPI example to connect slave device using Arduino SPI pins

akif007 gravatar image

asked 2017-08-04 06:46:49 +0200

I was pointed to st7565LCD.c for this question before, but SDK 13 does not seem to have that example. It would be really helpful if I can get spi_read() and spi_write() functions as welll. thanks.

edit retag flag offensive close delete report spam


What do you mean "I was pointed to st7565LCD.c for this question before"

Post a link to that question, or even better just add to that question if it was not answered last time

Roger Clark ( 2017-08-04 07:23:13 +0200 )editconvert to answer

Hi, thanks for following up. This is regarding the previous question I posted "Need a sample Eclipse SPI project for PCA10056/52840 board" In there, I was pointed to st7565LCD example. I see only st7735.c example. It is not using ARDUINO pins, I can change those I guess, but would be helpful to get the arduino example with read/write functions defined. thanks :)

sanjose007 ( 2017-08-04 07:28:31 +0200 )editconvert to answer

You mean this question


Arduino devices and API are not officially supported by Nordic

There is an unofficial Arduino core for nRF5x written by Sandeep Mistry

You may want to look at that if you are using something related to the Arduino

Roger Clark ( 2017-08-04 08:06:40 +0200 )editconvert to answer


Example with st7565LCD is in SDK13: examples\peripheral\spi_master_using_nrf_spi_mngr

Jakub Rzeszutko ( 2017-08-04 08:18:01 +0200 )editconvert to answer