Re: [PATCH] staging: comedi: das1800: fix analog input number of channels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/04/16 19:06, H Hartley Sweeten wrote:
The "hc" type boards have 64 analog input channels with a 64 entry queue.
All the others have 16 channels and a 256 entry queue.

Currently the boardinfo 'qram_len' is used to initialize the subdevice
'n_chan' and 'len_chanlist'. This works for the 64 channel boards but
sets the 'n_chan' wrong for the 16 channel boards.

I think the 256 QRAM positions is to allow use with a set of EXP-1800 boards, each of which can multiplex one of the single-ended inputs of the DAS-1800 series into 16 channels. According to the user's guide, they can be daisy chained to provide up to 256 channels.

Datasheet:

http://www.tek.com/sites/tek.com/files/media/media/resources/exp-1800_ds.pdf

User's Guide download page (need to fill in contact info!):

http://www.tek.com/manual/exp-1800-users-guide-92160b-manual


So it's probably best to leave the number of channels alone.

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux