I'm using BeagleBone with AM3517 and Linux kernel version: 2.6.37
--
On Tuesday, August 19, 2014 5:00:24 PM UTC+1, Siddarth Sharma wrote:Hi Folks,I have recently decided to learn embedded linux development and I am currently working on a project to use the SPI on Beagle Bone to transfer 64+bytes of data as one block in one write cycle to an Atmel SAM 32 bit uC. I would like to use DMA with the SPI and I have read online that this is not possible from user space with spidev. I came across omap2_mcspi.c driver and I noticed that this has dma functions in it. I would like to enable two DMA channels(tx and rx) to provide and receive data from the respective registers on the SPI. Could someone guide as to how I am to go about using omap2_mcspi? Would i need to make a module?Thanks!
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/ZtfEPoACcXE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
Hi John,Attached is my user space code to transmit 1 byte of data stored in buffer - data using spidev. Would this then call dma controller automatically if i increase the size of my buffer data to 64 bytes? Also, I want to setup a interrupt handler that gets called when data is received or transmitted by the dma. How do i do this?