[wdmaudiodev] Using wavert with a non DMA hardware device

  • From: Gordon Lewis <glewis9999@xxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sat, 18 Jan 2020 18:39:20 +0000

I am basing a driver on the sysvad sample and using wavert to connect to a SPI 
device connected through USB (nuvoton).  The firmware is representing the 
device a virtual USB com port and as a HID device.  The SPI device is a keyword 
spotter device.  I am able to communicate with the device using the protocol 
through the serial port that they provided.  I have the following questions or 
comments:


  1.   WaveRT seems to expect a hardware buffer that is shared between the 
device and applications.  Can this still be used for this scenario?
  2.  WaveRT seems to be required for WHQL signing and for implementing WaveRT 
enhancements for a wake on word keyword spotter.
  3.  the device is presented as a serial port and hid device and writes/reads 
to the SPI device are through this interface.
  4.  I have tried modifying the WriteBytes routine but since there are 
synchronous reads/writes to the SPI device this communication must be done at 
passive level and WriteBytes is sometimes called at dispatch level.

Any comments on the above?

Other related posts: