Skip to contentSkip to conversation

(slave) SPI driver for Am3354...?

Xenomai Reitinger, Peter 2 participants 2 messages Aug 12, 2014

lore
Share & tools
lore
#0 lore raw

Dear Xenomai people,

as we like to avoid to re-invent the wheel when possible, I'd like to ask you if there is a mature spi driver as rtdm driver which enables usage of McSPI in slave mode and combined with dma. (A big preloaded byte array shall be clocked to the master in an FPGA in eventually varying clock speed requested by it up to maximal speed of 48MHz.) Or do you think it is a better idea to use the standard Linux SPI protocol driver with RT-Preempt patch?
I've seen there is the project https://github.com/nradulovic/xdrv-spi/. Can anybody recommend it?

Kind regards,
Peter Reitinger

#1 lore raw
Quoted 10 lines · Peter

Dear Xenomai people,

as we like to avoid to re-invent the wheel when possible, I'd like to ask you if there is a mature spi driver as rtdm driver which enables usage of McSPI in slave mode and combined with dma. (A big preloaded byte array shall be clocked to the master in an FPGA in eventually varying clock speed requested by it up to maximal speed of 48MHz.) Or do you think it is a better idea to use the standard Linux SPI protocol driver with RT-Preempt patch? I've seen there is the project
https://github.com/nradulovic/xdrv-spi/. Can anybody recommend it?

I can not really recommend this driver, but it is there, you have the source, so what do you need to ask the mailing list before testing it?

Signature · 1 line
                                                                Gilles.