Skip to content

Commit ffc65fb

Browse files
committed
Make blocksize modifiable by software
1 parent 0a3cc4d commit ffc65fb

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

0 Bytes
Binary file not shown.

Source/Processors/DataThreads/rhythm-api/rhd2000evalboard.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,12 @@ void Rhd2000EvalBoard::resetBoard()
679679
dev->UpdateWireIns();
680680
dev->SetWireInValue(WireInResetRun, 0x00, 0x01);
681681
dev->UpdateWireIns();
682+
if (usb3)
683+
{
684+
dev->SetWireInValue(WireInMultiUse, USB3_BLOCK_SIZE / 4);
685+
dev->ActivateTriggerIn(TrigInOpenEphys, 16);
686+
cout << "Blocksize set to " << USB3_BLOCK_SIZE << endl;
687+
}
682688
}
683689

684690
// Set the FPGA to run continuously once started (if continuousMode == true) or to run until

0 commit comments

Comments
 (0)