Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: Chipselect problem when using spidev

$
0
0

https://www.kernel.org/doc/Documentation/blackfin/bfin-spi-notes.txt  says in mode0 you are using, the CS will be manipulated by the hardware, instead of our driver code, so could you try to use mode 3? If limited by hardware character and you can't use the mode 3, use the GPIO cs instead, take line ".chip_select = GPIO_PF10 + MAX_CTRL_CS," in arch/blackfin/mach-bf537/boards/stamp.c as example.

 

If none of this above works please attach your userspace code too.


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>