Skip to content

Commit

Permalink
Fix register write in NP2.0-beta streamong configuration
Browse files Browse the repository at this point in the history
- I was writing NeuropixelsV2eBeta.REC_MODE instead of
  NeuropixelsV2eBeta.OP_MODE which was preventing the probes from
  streaming data.
  • Loading branch information
jonnew committed Sep 4, 2024
1 parent 77edc08 commit 65dd01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenEphys.Onix1/ConfigureNeuropixelsV2eBeta.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ static void SyncProbes(I2CRegisterContext serializer, uint gpo10Config)
static void ConfigureProbeStreaming(I2CRegisterContext i2cNP)
{
// Activate recording mode on NP
i2cNP.WriteByte(NeuropixelsV2eBeta.REC_MODE, 0b0100_0000);
i2cNP.WriteByte(NeuropixelsV2eBeta.OP_MODE, 0b0100_0000);

// Set global ADC settings
i2cNP.WriteByte(NeuropixelsV2eBeta.ADC_CONFIG, 0b0000_1000);
Expand Down

0 comments on commit 65dd01e

Please sign in to comment.