I am trying to build spi communication between nf52(master) and ads1192(slave). Can I use spi_master_with_spi_slave example directly in this case.
I am trying to build spi communication between nf52(master) and ads1192(slave). Can I use spi_master_with_spi_slave example directly in this case.
Why do You want to use SPI slave also? SPI master is all you need in this case.
Hi Wojtek, I am facing the similar task, to enable SPI communication between nordic nrf52832 and a wifi chip (winc1500) from atmel, should I do anything on the SPI slave side? I have example of SPI communication of Atmel, but have no idea how to port. Could you give me some suggestions?
You can start by checking SPI examples available in SDK - it should give you better overview how spi on nrf5x works... Then you could maybe specify your question somehow better
Hi Wojtek, thanks for your reply. according to an example, where people port the Atmel winc1500 codes to the STM mcu. I notice that the ported main.c function has a header "stm32f4xx_hal.h", which includes the common configurations for the whole HAL library on STM mcu. I would like to know, as to nrf52832, which header of such kind should I include, is it "app_util_platform.h"? thanks!
Please download nordic SDK (version 11 is newest), and open \nRF5_SDK_11.0.0_89a8197\examples\peripheral\spi (if you use new nRF52-DK, PCA10040 is for You) and familiarize yourself with SPI driver. I think you don't need file you are asking about, at all...