完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛扫一扫,分享给好友
|
嗨,
我正在使用ST25RU3993构建UHF RFID阅读器,我在读取寄存器时遇到了问题。我们的想法是将IC连接到NodeMCU或Arduino(在这个阶段都使用Arduino IDE进行编程)。 我将MISO连接到MISO,将MOSI连接到MOSI(我假设数据表中有错误,如图3所示) 启用IC(EN = 1)并等待1秒后,我尝试读取寄存器,但IC不响应我的SPI消息。我可以在示波器上看到NCS,CLK和MOSI信号,但MISO始终为低电平。我的代码读取寄存器0x00到0x24。 SPI设置为MODE1(NodeMCU在上升沿输出数据,并按照数据表第15页的指示在下降沿捕获)。 我尝试了不同的频率:1kbps,100kbps,1Mbps,2Mbps和5Mbps。 根据数据表,IC应处于NORMAL模式,因此在启用器件后应能进行SPI通信。 我还看到某些引脚(稳压器)的电压,因此设备已上电并正在工作。至少它的一些部分。我一直在家里组装电路板,所以我有可能把它炸好。在我确定这个芯片损坏之前,我不想买一块新芯片。 有什么我做错了吗?我忘记了一些程序吗? 请帮忙! #uhf-rfid-reader-st25ru3993 #registers 以上来自于谷歌翻译 以下为原文 Hi, I'm building an UHF RFID reader using ST25RU3993 and I have a problem reading the registers. The idea is to connect the IC to NodeMCU or Arduino (both are programmed using Arduino IDE at this stage). I connected MISO to MISO and MOSI to MOSI (I�m assuming there is an error in the datasheet Figure 3 p.15) After enabling the IC (EN = 1) and waiting 1 second I try to read registers, but the IC does not respond to my SPI messages. I can see NCS, CLK and MOSI signals on the oscilloscope, but the MISO is always LOW. My code reads registers 0x00 to 0x24. The SPI was set to MODE1 (NodeMCU outputs data on rising edge and captures it on Falling edge as instructed in the datasheet p.15). I tried different frequencies: 1kbps, 100kbps, 1Mbps, 2Mbps and 5Mbps. According to the datasheet the IC should be in NORMAL mode and therefore the SPI communication should be possible after enabling the device. I also see voltages at some of the pins (voltage regulators) so the device is powered up and is working. At least some parts of it. I have been assembling the board at home so there is a possibility that I fried it. I don�t want to buy a new chip before I�m sure this one is damaged. Is there anything that I�m doing wrong? Did I forget about some procedure? Please help! #uhf-rfid-reader-st25ru3993 #registers |
|
相关推荐
3个回答
|
|
|
|
|
|
|
|
|
问题解决了。这是一个愚蠢的硬件错误。
Arduino ProMini 3V读取寄存器。 以上来自于谷歌翻译 以下为原文 Problem solved. It was a silly hardware error. Arduino ProMini 3V reads the registers. |
|
|
|
|
|
嗨,
我在这里做同样的事情。我在开始时遇到了几个问题,我不得不移植代码的几个部分,但现在我能够在ArduinoIDE上使用NodeMCU初始化ST25RU3993。 我希望很快就能完成清点工作。 以上来自于谷歌翻译 以下为原文 Hi, I'm doing the same over here. I had faced several problems in the beginning, I had to port several parts of the code, but now I'm able to initialize the ST25RU3993 using NodeMCU at ArduinoIDE. I hope to get the inventory round working soon. |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
661浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 01:26 , Processed in 0.558812 second(s), Total 45, Slave 38 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3743