My application need to respond with a digital pulse to event. The response must come within few microseconds from the event itself.
Therefore I think the /sys/gpio is too slow for me.
Can someone point me to documentation how to do it using physical memory access (using /dev/mem)?
Please use memtool utility from unit_tests package as an example.
All available sources of utilites in /unit_tests directory may be found in imx-
test and mxc-misc packages.
To get them under LTIB :
$ /ltib -c
Select
Package list -> imx-test
or
$ ./ltib -p imx-test -m prep
$ ./ltib -p mxc-misc -m prep
After that, <ltib>/rpm/BUILD/misc/test/ directory will contain the sources.
Note, test images may be found in <rootfs>/unit_tests directory.
Thanks Yuri for a quick response,
I am rather new to iMX and I am not familiar with ./ltlib
I did find the memtool under unit_tests but I did not understand you explanation regarding getting the sources.
Please use the Linux User's Guide, in particular - Chapter 3 (Building the Linux Platform).