From c53c17e861e9df09c5891f285fe2ba73fe0342c6 Mon Sep 17 00:00:00 2001 From: morgan Date: Fri, 30 Aug 2024 16:25:29 +0800 Subject: [PATCH] cxp upconn: add packet type --- src/libboard_artiq/src/cxp_upconn.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libboard_artiq/src/cxp_upconn.rs b/src/libboard_artiq/src/cxp_upconn.rs index 182e6a3..07667f3 100644 --- a/src/libboard_artiq/src/cxp_upconn.rs +++ b/src/libboard_artiq/src/cxp_upconn.rs @@ -16,6 +16,7 @@ pub fn pipeline_test(timer: &mut GlobalTimer) { unsafe { // eop = 1 (End of packet) at the last data input csr::cxp::txcore_din_len_write(arr.len() as u8); + csr::cxp::txcore_packet_type_write(0x02); // read control command for a in arr.iter() { while csr::cxp::txcore_din_ready_read() == 0 {}