The disclosure describes devices and systems that include a grounding electrode. In one example, a system may include a first module including a pulse generator within a first housing, a second module comprising a switch matrix within a second housing distinct from the first housing, a connecting cable that connects the first module to the second module, a grounding electrode disposed distal of the first module and proximal of the second module, and a plurality of electrodes disposed distal of the second module, wherein each electrode of the plurality of electrodes are selectively coupled to the pulse generator via the switch matrix. These devices or system can be used to provide neurostimulation and/or neurorecording.
System and method for neurostimulation and/or neurorecording