I would like to know how you succefully read the SYS_TIME register (0x06), because when I write the following code and shows data with Termite or TeraTerm all I get is this:
"0a0d" "0a0d" "0a0d" "0a0d"
Which I guess it means EOL and CR.
Basically I create a 5-byte array, pointer to it, pass the pointer to the read system time function and pass it to the decawave uart transmit function:
uint8_t sysTimeval; uint8_t *sysTimeval_ptr = &sysTimeval; dwt_readsystime(sysTimeval_ptr); deca_uart_transmit((char *)sysTimeval_ptr);
Any insights about what I’m doing wrong?