完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我正在使用M95320 EEPROM并发送RDID指令来读取设备标识页面,但设备正在响应MISO线路上所有32字节的0xFF。我发送的2字节地址是0x00 0x00。 EEPROM IC具有: 具有102k ResistorHOLD的Vcc和S为HIGHW为高电平且还发送RDSR指令以读取状态字节,并且IC在MISO线上以0x00响应。 我很困惑,因为我似乎可以读取状态字节,但不能读取设备信息。 任何建议将不胜感激。 编辑: 我现在可以确认我可以通过READ和WRITE命令读写内存数据。我可以读取和写入状态字节,但仍无法读取设备标识。以下是SPI迹线的示例。 如您所见,红色(MOSI)线始终很高。我做了双重检查,没有写正在进行中。 #spi #spi-communication#eeprom-memory#m95320 以上来自于谷歌翻译 以下为原文 Hi, I am using the M95320 EEPROM and sending RDID instruction to read the Device Identification page however the device is responding with 0xFF for all 32 bytes on the MISO line. The 2 byte address I am sending is 0x00 0x00. The EEPROM IC has:
I am very confused as it seems that I can read the Status Byte, but not the Device Information. Any advice would be greatly appreciated. edit: I can confirm now that I can read and write Memory data via the READ and WRITE commands. I can read and write the Status byte, however the Device Identification still cannot be read. Here is the sample of the SPI traces. As you can see the Red (MOSI) line is always high. I did double check and there is no Write in progress. #spi #spi-communication #eeprom-memory #m95320 |
|
相关推荐
9个回答
|
|
|
|
|
|
至少你可以读取状态寄存器,我也无法读取它。你能分享一下你的初始化序列吗?
以上来自于谷歌翻译 以下为原文 At least you can read the status register, I am not able to read it either. Can you please share your initialization sequence? |
|
|
|
嗨尼勒什,
我用这个指南 - https://www.st.com/resource/en/datasheet/m95320-a125.pdf 我没有设备的初始化程序,但这些是我做过的事情: HOLD引脚与Vcc桥接以保持高电平.S(芯片选择)引脚通过102k欧姆电阻与Vcc桥接(我没有100k) - 请参阅确保您的SPI字为8位。还要记住Vcc电平与SPI总线速度有关。 高速时钟频率20 MHz用于VCC 4.5 V10 MHz用于VCC 2.5 V5 MHz用于VCC¥1.7不过,我认为你应该提交初始化或SPI走线。 以上来自于谷歌翻译 以下为原文 Hi Nilesh, I used this guide - https://www.st.com/resource/en/datasheet/m95320-a125.pdf I do not have an initialisation procedure for the device but these are the things that I have done:
|
|
|
|
嗨,
请确保RDID的指令格式(1000 0011 + 2字节地址)。 警告A10位地址必须为“0”。如有疑问,请发送2个地址字节= 0x00 你有处女部分吗?在非处女部分的情况下,可能是0xFF是位于该区域的正确值。 ps:没有在读取过程中正在写入。 以上来自于谷歌翻译 以下为原文 Hi, Please make sure of the instruction format ( 1000 0011 + 2 bytes address ) for RDID. Warning A10 bit address must be '0'. in case of doubt, send 2 address bytes with = 0x00 Do you have a virgin part or not ? in case of not virgin part, may be 0xFF is the right value located at this area . ps: no Write in progress during a read. |
|
|
|
嗨皮埃尔,
感谢您的答复。 我肯定发送1000 0011 + 2地址字节。原始帖子中的痕迹显示(0x83 + 0x00 + 0x00)。 我从ST的供应商那里买了这些零件,我希望他们是处女。我正在从设备信息页面读取32个字节,如果该部件不是来自您的某个供应商的处女,这意味着某个地方某人在设备标识页面的前3个字节中用32 x 0xFF覆盖ST的制造数据 - 不太可能。 另外,我也无法读取设备信息页面的锁定状态。它只返回0xFF。 绝对没有写正在进行中。 以上来自于谷歌翻译 以下为原文 Hi Pierre, Thank you for your response. I am definitely sending 1000 0011 + 2 address bytes. The traces in my original post show (0x83 + 0x00 + 0x00). I bought the parts from one of ST's suppliers, I would hope they were virgin. I am reading 32 bytes from the Device information page and if the part was not virgin from one of your suppliers that means someone somewhere is overwriting ST's Manufacturing data in the first 3 bytes of the Device Identification page with 32 x 0xFFs - Unlikely. In addition, I also cannot read the Device Information Page's Lock Status. It just returns 0xFF. Definitely no Write in progress. |
|
|
|
你能写一下(记忆和/或Page Id)吗?
试试其他部分...... 以上来自于谷歌翻译 以下为原文 Can you write (memory &/or Page Id) at least ? Try with an other part... |
|
|
|
是的,我可以毫无问题地读/写内存和状态寄存器。
以上来自于谷歌翻译 以下为原文 Yes, I can read/write memory and status register without any issues. |
|
|
|
你有汽车或工业产品吗?因为页面ID是为工业的自动/可选提供的。
欢迎使用顶级标记。 以上来自于谷歌翻译 以下为原文 Do you have automotive or industrial product ? Because Page ID is offered for auto / optionnal of industrial. Top marking is welcome. |
|
|
|
嗨皮埃尔,
谢谢你澄清一下。我现在意识到我确实有M95320-W IC而不是-D。非常感激。 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Hi Pierre, Thank you for clarifying this. I have now realised that I do have the M95320-W IC and not the -D. Much appreciated. 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的选项
2720 浏览 1 评论
3236 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3645 浏览 6 评论
6033 浏览 21 评论
1334浏览 4评论
208浏览 3评论
196浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
441浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 02:43 , Processed in 1.311721 second(s), Total 94, Slave 78 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号