AnsweredAssumed Answered

SPI kernel drivers and spidev

Question asked by Anders Ådland on Apr 9, 2014
Latest reply on Apr 23, 2014 by Yiping Wang

I have a card with P1025 with four devices on the SPI bus; flash, FRAM,

shift register and ADC. I'm using kernel drivers for all devices except

the ADC which isn't supported by the kernel. Instead it is configured as

spidev.

 

Then I do the following steps:

1) Access the flash, FRAM or shift register. It works perfect.

2) Run my program talking to spidev. It continuously reads the voltages

as expected.

3) Stop my program.

4) Repeat step 1). The kernel now hangs.

 

My program is based on the spidev_test.c included with the kernel.

 

I have tested this with kernel in SDK 1.5 and with 3.14.

 

Have anyone had similar experiences combining kernel drivers talking on

SPI with spidev on the same SPI bus?

Outcomes