Best to use the PRU and control the I/O with software. Regards, John
> On May 24, 2016, at 6:25 AM, Raul Piper <raulpbloo...@gmail.com> wrote: > > My Question was Can CS be selectively made High or Low at nth or pth Clock > Pulse while using/writing the SPI driver? > > On Monday, May 23, 2016 at 9:59:14 PM UTC+5:30, john3909 wrote: > Here are the possible solutions: > > 1) Use spidev which allows a user space application to communicate with a > device over SPI > 2) Use PRU to communicate with device over SPI > 3) Develop a device driver to communicate with device over SPI > 4) Adapt an IIO driver that is similar to your device > > Regards, > John > > > > >> On May 23, 2016, at 4:34 AM, Raul Piper <raulpb...@gmail.com <javascript:>> >> wrote: >> >> I am developing a driver for a hardware whose datasheet says it has a 4 wire >> Serial interface .DataIN/OUT,Clock,CS .Does it means I can develop a full >> fledged SPI driver on Linux to use it. >> To add more when the CLK has n-n+1(say 3-4) rising edge with LE = 1 certain >> control register will be written .Value of n depends on the type of control >> register. >> Will it be good to develop a SPI driver for this or this can be achieved >> better by using the GPIOs(setting/resetting the CLK,Data Lines) . >> >> experts comments required. >> Rp >> >> >> -- >> For more options, visit http://beagleboard.org/discuss >> <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 <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/9eef480f-0293-4b4d-99d9-e4527bac1d25%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beagleboard/9eef480f-0293-4b4d-99d9-e4527bac1d25%40googlegroups.com?utm_medium=email&utm_source=footer>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > > -- > For more options, visit http://beagleboard.org/discuss > <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 > <mailto:beagleboard+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/0019f98b-3575-495a-af41-77136c618e96%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/0019f98b-3575-495a-af41-77136c618e96%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/C3F80345-17DB-4823-99A4-B99370B4214D%40gmail.com. For more options, visit https://groups.google.com/d/optout.