Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于初始化验证设备ID的问题 #9

Open
18506711722 opened this issue Jul 28, 2023 · 1 comment
Open

关于初始化验证设备ID的问题 #9

18506711722 opened this issue Jul 28, 2023 · 1 comment

Comments

@18506711722
Copy link

Version

No response

Describe the bug

初始化时验证了设备ID是否等于0xEF17,高8位为厂商ID会有所不同

Reproduce

No response

Expected behavior

No response

Additional context

No response

@libdriver
Copy link
Owner

Hello, thank you for using our driver. W25QXX series drivers will verify the chip ID when initializing. The first is to verify whether the SPI/QSPI communication is normal, and the second is to verify whether the chip model is correct to ensure the safety of subsequent operations. This ID is related to the manufacturer and chip capacity, and can be increased by w25qxx_type_t, which is usually found in the datasheet of the chip.

您好,感谢您使用我们的驱动。W25QXX系列驱动在初始化时会验证芯片ID,这么做第一是验证SPI/QSPI通信是否正常,第二是验证芯片型号是否正确,保证后面部分操作的安全。该ID与制造厂家以及芯片容量有关,可以根据需要增加w25qxx_type_t的枚举类型,此类ID一般会在芯片的datasheet中找到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants