Re: SPI on nRF52-PCA10040 possible? #nrf52832


Johannes Hutter
 

Hi Moritz,

SPI does not have DTS support in nordic boards yet, so you still have to set it up via Kconfig until https://github.com/zephyrproject-rtos/zephyr/issues/8758 is completely resolved.

The first part of

zephyr/tests/drivers/spi/spi_loopback/boards/nrf52_pca10040.conf

should be a good starting point for your case. You have to set CONFIG_SPI=y then.

Regards,
Joe

On Mon, Aug 6, 2018 at 9:15 AM <moritzgerlich@...> wrote:

Hello at all,

i have a question concerning the nRF52-PCA10040.

I want to connect the nRF52-PCA10040 to another board via SPI. However i cannot
figure out a possible way to do so. The provided samples weren't particulary helpful.
Did someone use SPI with one of the nRF52XX boards and would have an
idea (or a sample code) for using/setting up the SPI device?

Thanks in advance for any kind of help!

--

Johannes Hutter
Embedded Software Lead
Mail: johannes@...

 

Workaround GmbH (ProGlove)  
Building 64.08a, 
Rupert-Mayer-Straße 44, 81379 München



Managing Director: Thomas Kirchner 
HRB: 216605 | AG München 
USt.-IdNr.: DE298859320

 


Join users@lists.zephyrproject.org to automatically receive all group messages.