LPS Node can't pass the selftest

Firmware/software/electronics/mechanics
Post Reply
gwiily
Beginner
Posts: 20
Joined: Wed Dec 02, 2015 2:12 am

LPS Node can't pass the selftest

Post by gwiily »

I made a lps node,but when I test the pcb it can't pass the selftest.like the pic.thanks.
Attachments
6.png
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: LPS Node can't pass the selftest

Post by tobias »

Not sure what that means. Have you checked what the code does?
gwiily
Beginner
Posts: 20
Joined: Wed Dec 02, 2015 2:12 am

Re: LPS Node can't pass the selftest

Post by gwiily »

tobias wrote:Not sure what that means. Have you checked what the code does?
I check the code,maybe the device id is different. I can't find how to change it ,but I ignore the device id,and the lps-node is worked.

Code: Select all

  if (dwGetDeviceId(dev) != 0xdeca0130) {
  	  return DW_ERROR_WRONG_ID;
  }
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: LPS Node can't pass the selftest

Post by arnaud »

I was in vacation during this thread but I can answer a bit late:

The first thing the dw1000 driver does is to check the dw1000 chip ID. The most likely cause for failure is that the SPI communication is not working. You should check that your SPI bus is correctly cabled and that the low level communication routines are working.
Post Reply