AnsweredAssumed Answered

How to use SPI ports?

Question asked by angelo.s on Nov 15, 2012
Latest reply on Nov 29, 2012 by Aaronwu

Good day to all,

I'm currently working on a project that would require using the SPI on my BF537 board, however I'm a bit confused with what I need to do in order to make it work according to my needs. I've read through the documents at http://docs.blackfin.uclinux.org/doku.php?id=spi, however it wasn't enough for me to be able to grasp the fundamental concept on how it could work. Also I've tried reading on the document "stamp.c" where I believe holds some generic codes for devices that would use the SPI on the board. A description of what I plan on doing, I plan to connect an Accelerometer (sensor) that makes use of SPI to the board. I simply need it to get it working where I would be able to get readings from the sensor and be able to store and interpret the data received. In addition, I've already configured my kernel image to support SPI devices, I just need help with the codes that would call and read the signals from the sensor (Accelerometer). Thank you to whoever may help me.

Outcomes