Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Slide 24 Slide 25 Slide 26 Slide 27 Slide 28 Slide 29 Slide 30 Slide 31 Slide 32 Slide 33 Slide 34 Slide 35 Slide 36 Product List
DSP Blackfin STAMP BSP Slide 30

For the kernel application, the serial peripheral interface (SPI) will be used. There are a number of core routines set up to control the device, allow users to get and set data to registers on the device. The SPI driver also uses DMA transfers to copy DMA into and out of the device. The user code will then use ioctl commands to tell the SPI device what activity it wants to perform. It will request to go to or from the device with a read or a write. When a read call is performed the device driver will set up a DMA transfer, enabling the data transfer and waiting for an interrupt. The read will terminate once the interrupt is received. The data is then available for copying into user space. The user code continues with the new data.

PTM Published on: 2006-01-20