Post Go back to editing

How to reset my ADIS16223 back to factory settings

I have bricked one of my ADIS16223 when I was trying out new settings.

Is there a byte sequence I can send to restore the unit back to factory settings?

 

I am familiar with sending commands like:

#define d_FLASH_CNT 0x00

#define d_CAPT_SUPPLY 0x0A

#define d_CAPT_TEMP 0x0C

#define d_PROD_ID 0x56

#define d_SERIAL_NUM 0x58

#define d_CAPT_PEAKX 0x0E

#define d_CAPT_PEAKY 0x10

#define d_CAPT_PEAKZ 0x12

#define d_CAPT_PNTR  0x1A

#define d_DIAG_STAT  0x3C

I send these using the following

  writeCommand[0] = Command;   //Command = d_PROD_ID, or d_CAPT_PEAKX or ...

  writeCommand[1] = 0x00;

  wiringPiSPIDataRW (ce, writeCommand, 2);

Parents
  • I understood the rest of the message, but didn't want to give a partial answer, so please pardon the clarification request. There is no single command that will restore all of the default commands, but we appreciate the feedback.  Are you able to read all of the user-configurable registers?  In particular, the CAPT_CTRL and CAPT_PRD would be helpful. 

Reply
  • I understood the rest of the message, but didn't want to give a partial answer, so please pardon the clarification request. There is no single command that will restore all of the default commands, but we appreciate the feedback.  Are you able to read all of the user-configurable registers?  In particular, the CAPT_CTRL and CAPT_PRD would be helpful. 

Children
No Data