Hmm according to that device tree source, max frequency is 16Mhz. I thought the SPI was capable of 30Mhz or more. Maybe I'm remembering wrongly.
On Wed, Dec 16, 2015 at 8:41 AM, Robert Nelson <robertcnel...@gmail.com> wrote: > > > On Wed, Dec 16, 2015 at 9:31 AM, William Hermans <yyrk...@gmail.com> > wrote: > >> *SPI works great on v4.1.x now, just pay attention this this little* >>> * spi-dma-disable hack:* >>> >>> * >>> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-SPIDEV0-00A0.dts#L54 >>> <https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-SPIDEV0-00A0.dts#L54>* >>> >>> * "ti,pio-mode;"* >>> >>> * Otherwise, the spidev interface will lock up on the 160'th bit...* >>> >>> * (3.8 never used dma on spi, so this isn't a regression in speed..)* >> >> >> Is it possible to control the SPI hardware through the PRU, and if so, >> would that hack still matter Robert ? No idea if spidev is used in such a >> case or not . . . >> > > I didn't investage that side.. It's just when used as an overlay, that's > needed.. > > If you setup a *.dtb with spi enabled in the dtb-rebuilder you don't need > that workaround.. > > > https://github.com/RobertCNelson/dtb-rebuilder/blob/4.1-ti/src/arm/am335x-boneblack-spi0.dts#L140 > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.