I am having difficulty setting my NTP5332 to send signals that events have been detected. I have tried the following in Android but can't seem to get the card to respond. I get an error code of 0x01
Does anyone have the right sequence of bytes to send?
public static final byte[] cmd_activateEDPinAl = new byte[]{
(byte) 0x12,
(byte) 0xC1,
(byte) 0x04,
(byte) 0x3D, //Config Memory for ED/EH Pin
(byte) 0x01, // EH_CONFIG
(byte) 0x00, // RFU
(byte) 0x01, // ED_CONFIG - Start Any command 00001010
(byte) 0x00
};
public static final byte[] cmd_activateEDPin = new byte[]{
(byte) 0x12,
(byte) 0xC1,
(byte) 0x04,
(byte) 0xA8, //Config Memory for ED/EH Pin
(byte) 0x01, // ED_CONFIG - Start Any command 00001010
(byte) 0x00, // RFU
(byte) 0x00,
(byte) 0x00
};
public static final byte[] cmd_clearEDPin = new byte[]{
(byte) 0x12,
(byte) 0xC1,
(byte) 0x04,
(byte) 0xAB, //Config Memory for ED/EH Pin
(byte) 0x01, // Clear 00000001 -> 0x01
(byte) 0x00, // RFU
(byte) 0x00, // RFU
(byte) 0x00 // RFU
};
Hi. fangfang,
I am unable to find the above reference manual RM00221.pdf by following the link
Thanks
Hey fangfang, I am not able to find the above link RM00221.pdf file. Can you please report?
Hello,
You may refer to the reference manual as the link for the more information.
URL:https://www.nxp.com.cn/docs/en/reference-manual/RM00221.pdf.
Hope it help you. Have a nice day.
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------