Contributions:CP2130Filter

From BCI2000 Wiki
Jump to: navigation, search

Synopsis

The CP2130Filter allows for the interaction with Silicon Labs CP2130 board. This board uses a USB-SPI bridge that allows for commands to be sent to the board and data to be acquired from sensors.

To use this filter, a CP2130 board must be connected to the computer via USB.

Picture

CP2130.jpg

Location

http://www.bci2000.org/svn/trunk/src/private/SignalProcessing/CP2130

Versioning

Authors

Yichuan Wang, Alex Belsten

Source Code Revisions

  • Initial development: 5799
  • Tested under: 5799
  • Known to compile under: 5800
  • Broken since: --

Parameters

StimulationExpression

Evaluated expression for the stimulation of StimulatingGPIO. The default value State(MouseKeys)==1 evaluates true when the left mouse key is clicked. Therefore, when the left mouse is clicked, StimulatingGPIO is stimulated. See User Reference:Expression Syntax for more details.

StimulatingGPIO

GPIO pin on the board that is stimulated. Default value is 0. Acceptable values range from 0-8.

States

Temperature

32 bit raw value from on-board temperature sensor

Potentiometer

32 bit raw value from on-board potentiometer

InputADC

32 bit raw value from on-board ADC input. Usefully for connecting to function generator.

See also

User Reference:Filters, Contributions:SignalProcessing