2 Replies Latest reply on Mar 22, 2016 8:59 PM by nelfata

    Accurate pulse generation

    nelfata

      Hello,

      can someone provide some information on how to generate accurate pulses (about 1usec resolution)?

       

      The application is to program the AD8556ACPZ gains/offset using a GPIO output.

       

      I have started with this info:

      http://www.i-programmer.info/programming/hardware/8784-exploring-edison-almost-real-time-linux.html?start=2

       

      Ideally I would like to have it implemented with Python.

      Here are some issues:

      - Setting the Linux scheduler to FIFO mode is not supported with Python versions earlier than 3.x

      - Python 3.x seems to need some work to make it work well with MRAA (assuming it can be upgraded to 3.x)

      - To generate a software controlled pulse requires a usec delay, in Linux that might not be achievable

      - How about the MCU part of the Edison? Can it be accessed using Python? Can it be easily configured for such task?

       

      Any pointers would be greatly appreciated.

       

      Thanks.