完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我设计了一个基于CR95HF的威廉希尔官方网站 板。威廉希尔官方网站 图完全符合ST网站上的0018253A PLUG-CR95HF-B.pdf。我尽可能地将我的威廉希尔官方网站 板的PCB布局与该威廉希尔官方网站 板相匹配。我选择了通信接口为UART。最初,我想使用USB到UART转换器使用在PC上运行的终端s / w(Docklight)与CR95HF进行通信。我已将参数设置为57600-N-8-1和无流量控制。我想作为通信协议和我正在使用的NFC标签。 当我向CR95HF发送命令0x0100(IDN)时,我得到0x000F4E4643204653324A415354320075D2作为响应。当我发送0x55时,我得到0x55响应。当我发送协议选择命令0x02020200或0x020402000300时,我得到0x0000的响应。但是当我在此命令之后发送任何命令,如0x09043A005804或0x0904680101D1或0x04022607(在CR95HF数据表的第52/53页上给出)时,我没有得到CR95HF的响应。我需要努力重置董事会。在完成所有这些操作时,NFC标签保留在PCB的天线上。 另一个观察是在CR95HF的天线侧看到RF波形。在我发送协议选择命令之前,我没有在天线侧看到任何RF波形,一旦发送协议选择命令,我就能看到这些波形,但CR95HF不响应任何命令。 为什么会这样?我在这里遗漏了什么? 有谁能告诉我使用CR95HF和Docklight以及USB转UART转换器读取/写入NFC标签的确切步骤? 请注意:借助于Google Play上提供的NFC Easy Connect App,可以使用支持NFC的智能手机读取/写入我正在使用的NFC标签。 因为我是新手,请帮助我。 等待您的回复。 - 谢谢&问候, Pranav 以上来自于谷歌翻译 以下为原文 Hi, I have designed a CR95HF based Board. The circuit diagram is exactly as per the 0018253A PLUG-CR95HF-B.pdf found on the ST Website. I have tried to match the PCB layout of my board to this board as far as possible. I have selected the communication interface to be UART. Initially, I want to communicate to the CR95HF using a terminal s/w (Docklight) running on PC using a USB to UART Converter. I have set the parameters to 57600-N-8-1 and No Flow Control. I want to as communication protocol and the NFC Tag I am using is . When I send command 0x0100 (IDN) to the CR95HF, I get 0x000F4E4643204653324A415354320075D2 in response. When I send 0x55, I get 0x55 in response. When I send protocol select command 0x02020200 or 0x020402000300, I get a response of 0x0000. But when I send any command after this command like 0x09043A005804 or 0x0904680101D1 or 0x04022607 (given on the page no. 52/53 of CR95HF Datasheet), I get no response from the CR95HF. I need to hard RESET the Board. While doing all this, the NFC tag is kept on the antenna of the PCB. Another observation is while seeing the RF waveforms at the antenna side of the CR95HF. Until I send the protocol select command, I don’t see any RF waveform on the antenna side, as soon as I send the protocol select command, I am able to see these waveforms, but then the CR95HF does not respond to any commands. Why is this happening?? Am I missing anything here? Could anyone please let me know the exact procedure to read/write to an NFC Tag using CR95HF and Docklight and USB to UART Converter? Please note: The NFC Tags I am using can be read/written using an NFC enabled Smart Phone with the help of NFC Easy Connect App available on Google Play. Please help me in this as I am new to this. Awaiting for your reply. -- Thanks & Regards, Pranav |
|
相关推荐
2个回答
|
|
你好
https://community.st.com/people/38573 ,如果ST95HF响应IDN和ECHO命令, 这通过UART通知良好的通信。问题似乎与标签有关。您是否可以在现场测试没有标签的命令,看看CR95HF是否正在应答? 命令0x09043A005804和0x0904680101D1是CR95HF的“写入寄存器”,应回答0000(不是RF命令,因此不与标签交互,CR95HF应始终应答)。 命令0x04022607是发送到标签的SendRecv命令,在CR95HF字段中没有标签应该返回8700(帧等待超时或没有TAG)。 在选择协议之前,这是RF侧没有活动的正常行为。 CR95HF首先需要一个发送RF命令的协议。只有SendRecv才能发送RF命令。其他命令用于配置CR95HF。 你说你可以看到来自RF天线的波形,你可以在从CR95HF发送SendRecv命令时捕获一些帧吗? 最好的祝福。 以上来自于谷歌翻译 以下为原文 Hi https://community.st.com/people/38573 , If the ST95HF responds to the IDN and ECHO commands, this informs of the good communication through UART. The problem seems to be with the tag. Can you test your commands without the tag in the field and see if the CR95HF is answering ? Command 0x09043A005804 and 0x0904680101D1 are 'write register' to the CR95HF and should answer 0000 (Not an RF command so no interaction with the tag, CR95HF should always answer). Command 0x04022607 is a SendRecv command sent to the tag, without a tag in the field CR95HF should return 8700 ( Frame wait time out or no TAG ). Until a protocol is selected, this is a normal behavior that there is no activity on the RF side. The CR95HF need at first a protocol to send RF commands. Only SendRecv should send RF command. Other commands are used to configure the CR95HF. You say that you are able to see waveforms from RF antenna, can you capture some frames when you are sending a SendRecv command from the CR95HF? Best Regards. |
|
|
|
你好
Lu.Wei.003 ,你能为你的问题创建一个新的讨论。 这将避免与线程所有者的答案中的误解,并将使更多william hill官网 人员可以看到您的问题以获得更好的答案。 我建议你阅读 http://www.st.com/content/ccc/resource/technical/document/datasheet/d2/cc/cb/f6/7c/63/48/75/DM00025644.pdf/files/DM00025644.pdf/jcr:内容/翻译/ en.DM00025644.pdf 在3.2节启动顺序中,在尝试与之通信之前正确初始化CR95HF。 希望这可以提供帮助 最好的祝福。 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Hi Lu.Wei.003 , Can you create a new discussion for your question. This will avoid misunderstandings in the answers with those of the thread's owner and will make your question visible to more forum people for better answers. I recommend that you read the http://www.st.com/content/ccc/resource/technical/document/datasheet/d2/cc/cb/f6/7c/63/48/75/DM00025644.pdf/files/DM00025644.pdf/jcr:content/translations/en.DM00025644.pdf in section 3.2 Startup Sequence to properly initialize the CR95HF before trying to communicate with it. Hope this can help Best Regards. Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2747 浏览 1 评论
3244 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1813 浏览 1 评论
3655 浏览 6 评论
6044 浏览 21 评论
1342浏览 4评论
204浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
359浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
449浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
276浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 21:46 , Processed in 1.088571 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号