Okk..!! #1 So I will keep using the image which you have shown in your blog post(for now) for my further development #2 Ok, for that I am not worried much for now! as for now I WANT data, and I will be implementing a filter maybe in second stage once I get this thing working.
Yes, you should take a break, I will post here once I have something to show!! Though I wont go in mmap for now, I will stick to my singleshot & continuous mode implementation. Thanks a lot for help.. Rathin On Wednesday, October 7, 2015 at 3:24:33 AM UTC+5:30, William Hermans wrote: > > By the way, one thing I did note. Remember me saying printf() was not > slowing anything down( much ) using sysfs, and the iio driver ? Well, using > mmap() and then printf() to display the data. Slows the sample rate by > 50%+. Specifically newlines -> "\n" seem to be the biggest culprit. > > Anyway, that just goes to show how much faster using mmap() through > /dev/mem *is*. Now . . . I need to figure out a good way to display, or > otherwise view the output data without slowing down the whole process . . . > Maybe one huge array that get's blasted to screen, or a file all at once ? > *Shrug* > > On Tue, Oct 6, 2015 at 2:43 PM, William Hermans <yyr...@gmail.com > <javascript:>> wrote: > >> #1 No, the module is already compiled for the image. >> >> #2 No, this is continuous mode with all 7 configurable channels running( >> 8 including AIN7 ), and just blasting the data to screen. No ordering, not >> checking anything. There are many *MANY* redundant reads. >> >> Right now I am experimenting with mmap(). Using mmap() I am able to >> configure, and read from the ADC without loading that module, or >> configuring the ADC channels using the iio userspace driver. What this nets >> me is not having to run an interrupt related to the driver ( I'm guessing >> ). Which *could* slow things down tremendously. Also, just now I'm toying >> with sample averaging turned off. >> >> Anyway, this is all new to me, so much experimentation will be needed on >> my part to figure this all out. With that said, I'm about ready for a break >> for a little while. Maybe and hour or two, or maybe a day or two . . . heh >> Helps keep me from getting burnt out. . . >> >> > -- 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.