I’ve used this code via pruss_remoteproc and I believe it toggles the PRU gpio every cycle when I removed the delay.
https://git.ti.com/pru-software-support-package/pru-software-support-package/blobs/119bd86dbe7bd76011b7b28fd04da2ddb03c8d1e/examples/PRU_gpioToggle/PRU_gpioToggle.c <https://git.ti.com/pru-software-support-package/pru-software-support-package/blobs/119bd86dbe7bd76011b7b28fd04da2ddb03c8d1e/examples/PRU_gpioToggle/PRU_gpioToggle.c> BTW, you need to keep your scope probes short or you will see ringing because of the fast transition times. Regards, John > On Feb 16, 2016, at 1:08 PM, John M <[email protected]> wrote: > > Hello All, > > I'm trying to create a clock using the PRU, and I have it working to an > extent, but I am noticing a discrepancy between what I read in the TRM and > what I'm seeing. When I use a series of SET CLR SET CLR commands on a pin, > they do not resolve completely before the next command. When I seperate each > command by a delay, the rising edge of the clock takes ~90ns to go from 0V to > 3.3V. I was under the impression that this operation would be performed at > around ~5ns. I have attached the reading from my oscilloscope. My question > is, is what I am seeing normal or am I doing something wrong? > > Thank you. > > <https://lh3.googleusercontent.com/-HgSaQGizihc/VsOPr4eIEPI/AAAAAAAACwA/fJOdPU4KSlo/s1600/LeCroy.png> > > > > -- > 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 [email protected] > <mailto:[email protected]>. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
