• Bernd Porr's avatar
    usbdux: usbduxsigma: changed firmware from ADC polling to IRQ processing · dba12691
    Bernd Porr authored
    
    
    In order to prepare the firmware to work with the EHCI driver the
    ADC data acquisition is now done by triggering the acquisition with
    a start of frame interrupt (SOF) and then the collection of the data
    is done via "data ready" interrupts until all data has been received.
    Once this has happend then the whole packet is dispatched and at the
    next SOF the next packet is dispatched. If there are SOF interrupts
    happening during the data acquisiton it is no longer interupted and
    only send out the next ISO packet once it has comleted its job.
    Also now the USBDUXSIGMA has now plenty of time to deal with other
    interrupts between ADC data readouts so that for example the DIO
    can now be handled much quicker.
    Signed-off-by: default avatarBernd Porr <mail@berndporr.me.uk>
    Signed-off-by: default avatarKyle McMartin <kyle@kernel.org>
    dba12691
usbduxsigma_firmware.asm 25.8 KB