DWM1000+Atmel ATSAMG55 can't be received

Hi all,

I have problem when to use ATSAMG55 to receive and send data from EVK1000. I used library from DW1000 Application Programming Interface with STM32F10x Application examples from www.decawave.com/software/ to program.

However, I can’t receive or send anything. I already changed SPI interface and GPIO from ST to Atmel chip. But it still can’t be received and read device ID is failed.

Can some one help me?

Thank you very much

Hi thien,

If you cannot read the device ID, it probably means the driver porting to your platform and SPI interface is incorrect.

Until you can read the device ID, you shouldn’t try to transmit or receive.

Let us know how it goes,
Thanks
Yves

Hi Yves,

Now, I can read device ID but I have to change inside “void dwt_readfromdevice” data buffer after read right shift 1 bit (>>1) like this // Do the read from the SPI

readfromspi(cnt, header, length, buffer); // result is stored in the buffer

//>>1
uint8_t pre_vl=0,last_vl=0;
for(int i=0;i<length;i++)
{
pre_vl=buffer[i]&0x01;
pre_vl=pre_vl<<7;
buffer[i]=buffer[i]>>1|last_vl;
last_vl=pre_vl;
}
With new modify, I can receive data on simple_rx example, but with low_power_listen_rx ****it’s not work, It can’t be woke up from sleep mode.