
This is the sensor front end of a sensor fusion chip for a ground robot. On a fixed 400 Hz beat it
A Kalman filter that uses these measurements is planned for the same chip. Until its register interface exists, the measurements are sent out on a debug serial stream after each beat.
See timestamper.md for the block diagram, timing and interface.
Supply a 50 MHz clock, hold ui[2] (enable) high and release reset. With no sensors attached:
uo[0] pulses high for 10 us every 2.5 ms,uo[1] to uo[3] show one 32-clock SPI read (00 A0 00 00) per beat,uo[4] pulses 2 ms after each beat,uo[5] and uo[6] carry the debug stream: while uo[6] is high, uo[5] sends the 40-bit time
and then the measurement record, most significant bit first, one bit every 8 clocks.| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | VN-300 serial data (vn_rx) | VN-300 SyncIn pulse | Lidar MII RXD[0] (input) |
| 1 | Encoder SPI MISO | Encoder SPI CS_N | Lidar MII RXD[1] (input) |
| 2 | Host SPI SCK | Encoder SPI SCK | Lidar MII RXD[2] (input) |
| 3 | Host SPI CS_N | Encoder SPI MOSI | Lidar MII RXD[3] (input) |
| 4 | Host SPI MOSI | Measurements ready pulse | Host-side MII TXD[0] (output) |
| 5 | Lidar MII RX_DV | Host SPI MISO | Host-side MII TXD[1] (output) |
| 6 | Host-side MII TX_CLK | Host-side MII TXD[2] (output) | |
| 7 | Lidar MII RX_CLK | Host-side MII TX_EN | Host-side MII TXD[3] (output) |