1
0
Fork 0

Add LVDS instructions

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2023-11-28 16:51:44 +08:00
parent 48b85eac93
commit 0ad6b48185
2 changed files with 39 additions and 0 deletions

View File

@ -17,6 +17,7 @@
- [Sinara 8452 DSP Stabilizer](./hw/stabilizer.md) - [Sinara 8452 DSP Stabilizer](./hw/stabilizer.md)
- [Sinara 9805 RF Power Amplifier Booster](./hw/booster.md) - [Sinara 9805 RF Power Amplifier Booster](./hw/booster.md)
- [Sinara 8451 Thermostat](./hw/thermostat.md) - [Sinara 8451 Thermostat](./hw/thermostat.md)
- [Sinara 2245 LVDS DIO](./hw/lvds_dio.md)
- [Software/Support](./sw_sup/software_support.md) - [Software/Support](./sw_sup/software_support.md)
- [Building legacy firmware](./sw_sup/artiq_legacy.md) - [Building legacy firmware](./sw_sup/artiq_legacy.md)
- [Networking](./sw_sup/networking.md) - [Networking](./sw_sup/networking.md)

38
src/hw/lvds_dio.md Normal file
View File

@ -0,0 +1,38 @@
# Sinara 2245 LVDS DIO card
* [Wiki](https://github.com/sinara-hw/DIO_LVDS_RJ45/wiki)
* [Datasheet](https://m-labs.hk/docs/sinara-datasheets/2245.pdf)
## JSON
Be aware of the reversed EEM order on the card:
```json
[
{
"type": "dio",
"board": "DIO_LVDS",
"ports": [1],
"bank_direction_low": "input",
"bank_direction_high": "input",
"edge_counter": false // or true
},
{
"type": "dio",
"board": "DIO_LVDS",
"ports": [0],
"bank_direction_low": "output",
"bank_direction_high": "output"
}
]
```
## Setup
Switch DIPs in required position per each channel individually. Each RJ45 have 4 channels.
## Testing
You can test channels by connecting Ethernet RJ45 cable. Since the artiq_sinara_tester allows to choose only one DIO
port, you will need to run the test 4 times and choose different output source and track that every 4th is passing the test.
It is also incompatible with other TTL cards, so you will need to use same or other LVDS card for proper testing.