artiq-zynq/cxp_note.md
2025-01-09 15:56:10 +08:00

1.5 KiB

CXP

Finished

  • Upconn - Low speed serial [x] Low speed serial PHY [x] 20.833Mbps & 41.666Mbps change [x] 8b10b encoder [x] TX Pipeline with priority transmission [x] Trigger [x] Trigger ack [x] Test & Ctrl packet with DMA [x] CTRL Packet serialize firmware [x] follow DRTIO DMA [x] check crc
  • Downconn - GTX [x] GTX serial PHY [x] QPLL & GTX DRP to config linerate [x] Comma checker & restart rx [x] RX Pipeline with priority decoder [x] Trigger ack [x] CTRL packet DMA with extra buffer [x] Connection test sequence checker [x] CTRL Packet deserialize firmware [x] follow DRTIO DMA [x] check crc [x] GTX Multilane setup
  • Camera boostrap [x] get the CXP version [x] test connection [x] discovery other extension (links) [x] set bitrate
  • Camera frame pipeline [x] CXP frame packet routing (maybe no need to routing non zero streaming id (we have ROI buildin anyways)?) [x] CXP CRC32 detection

TODO

[] remove ALL debug tools [] flake.nix mod [] local_run.sh mod

Gateware

[] Test out CXP trigger [] Region of interest engine [] rtio to getting the frame

  • O: trigger
  • I: frame

Firmware

[] Camera linkdown detection [] Camera auto linkup/linkdown using threads [] API programming [] add tag handling for api calls

  • support line reset in kernel using syscall [] add heartbeat checking

Coredevice Driver

[] support simple camera programming interface (Not real time)

  • basic i2c-like interface with read/write u32