嗨巴特,
感谢您的回复。是的,我注意到了。即使我做了这个改变,我的代码仍然无效。
我确信我的硬件正常工作,因为我一直在使用AMS的FEMTO 2.1来测试我的代码。我的SPI通信也是正确的,我可以在FEMTO中读写寄存器。
我使用以下值来设置会话以尝试读取标记:
寄存器描述地址值
之后,我尝试通过执行以下操作来读取标记:
1 - 将寄存器0x3E设置为0x1E - 将1个字节和7个位发送到FIFO
2 - 发送查询命令 - 0x98
3 - 在FIFO中写入0x30 0x00
4 - 我发现我检测到传输中断结束
5 - 我等待接收中断结束
但我检测到寄存器0x38(前导码检测错误/ FIFO溢出错误)中的值0x01和寄存器0x37中的0x50(位Irq_err和Irq_rx为高)。我期待只检测到Irq_rx高。
我不知道我做错了什么。
任何想法都非常感谢。感谢您的时间。
以上来自于谷歌翻译
以下为原文
Hi Bart,
Thank you for reply. Yes, I noticed that. Even though I made this change, my code still does not work.
I am sure that my hardware is working, because I have been using the FEMTO 2.1 from AMS to test my code. My SPI communiction is also correct, I can read and write the registers in FEMTO.
I am using the following values to set a session to try read a tag:
Register Description Address Value
After that I try to read a tag by doing the following:
1 - Set the register 0x3E with 0x1E - Sending 1 byte and 7 bits to FIFO
2 - Send the Query command - 0x98
3 - Write 0x30 0x00 in FIFO
4 - Aftet that I detect the end of transmission interrupt
5 - I wait for the end of reception interrupt
But I detect the values 0x01 in register 0x38 (Preamble detect error / FIFO overflow error) and 0x50 in register 0x37 (Bits Irq_err and Irq_rx high ). I was expecting to detect only Irq_rx high.
I have no idea what I am doing wrong.
Any idea is very much appreciated. Thank you for your time.
嗨巴特,
感谢您的回复。是的,我注意到了。即使我做了这个改变,我的代码仍然无效。
我确信我的硬件正常工作,因为我一直在使用AMS的FEMTO 2.1来测试我的代码。我的SPI通信也是正确的,我可以在FEMTO中读写寄存器。
我使用以下值来设置会话以尝试读取标记:
寄存器描述地址值
之后,我尝试通过执行以下操作来读取标记:
1 - 将寄存器0x3E设置为0x1E - 将1个字节和7个位发送到FIFO
2 - 发送查询命令 - 0x98
3 - 在FIFO中写入0x30 0x00
4 - 我发现我检测到传输中断结束
5 - 我等待接收中断结束
但我检测到寄存器0x38(前导码检测错误/ FIFO溢出错误)中的值0x01和寄存器0x37中的0x50(位Irq_err和Irq_rx为高)。我期待只检测到Irq_rx高。
我不知道我做错了什么。
任何想法都非常感谢。感谢您的时间。
以上来自于谷歌翻译
以下为原文
Hi Bart,
Thank you for reply. Yes, I noticed that. Even though I made this change, my code still does not work.
I am sure that my hardware is working, because I have been using the FEMTO 2.1 from AMS to test my code. My SPI communiction is also correct, I can read and write the registers in FEMTO.
I am using the following values to set a session to try read a tag:
Register Description Address Value
After that I try to read a tag by doing the following:
1 - Set the register 0x3E with 0x1E - Sending 1 byte and 7 bits to FIFO
2 - Send the Query command - 0x98
3 - Write 0x30 0x00 in FIFO
4 - Aftet that I detect the end of transmission interrupt
5 - I wait for the end of reception interrupt
But I detect the values 0x01 in register 0x38 (Preamble detect error / FIFO overflow error) and 0x50 in register 0x37 (Bits Irq_err and Irq_rx high ). I was expecting to detect only Irq_rx high.
I have no idea what I am doing wrong.
Any idea is very much appreciated. Thank you for your time.
举报