
This design implements a custom SPI module to interface with RHD2164 neural amplifier chips and selects specific channels to transfer the data to a MCU via SPI. The design also implements a register bank accessible either by SPI or scanchain/shift register.
To be added.
You can test this chip in two different ways.
1. Connect the chip to an FPGA and use the RHD2164 emulator and MCU-SPI emulator available here. The register bank is tested using any MCU.
2. Connect the chip to a RHD2164 neural amplifier chip in CMOS mode or in LVDS mode using LVDS-to-CMOS adapters. The selected data is connected to any MCU which is also connected to the register bank.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | SC_SDI | RHD_MOSI | RHD_MISO0 |
| 1 | SC_SCLK | RHD_SCK | RHD_MISO1 |
| 2 | SC_SEN | RHD_CSb | MCU_MOSI |
| 3 | REG_MOSI | MCU_MISO | MCU_SCK |
| 4 | REG_SCK | SC_SDO | MCU_CSb |
| 5 | REG_CSb | REG_MISO | SELM0 |
| 6 | SR_CLK | SR_DO | |
| 7 | SR_EN |