1
0
Fork 0

downconn FW: add packet & decode error

This commit is contained in:
morgan 2024-09-20 12:44:35 +08:00
parent dcc3fac2aa
commit 2a831b437f
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ pub fn loopback_testing(timer: &mut GlobalTimer, speed: CXP_SPEED) {
csr::cxp::downconn_trig_clr_write(1);
info!("after clr trig ack = {}", csr::cxp::downconn_trig_ack_read());
info!("decode error = {}", csr::cxp::downconn_decode_error_read());
info!("packet type = {:#06X}", csr::cxp::downconn_packet_type_read());
// TODO: investigate how to make my packet appear
// TODO: discard idle word