nimaltd / spif

W25qxx, N25Qxx and other SPI FLASH driver for stm32 HAL
GNU General Public License v3.0
605 stars 173 forks source link

JEDEC ID #25

Closed octarudin closed 4 years ago

octarudin commented 4 years ago

Dear experts,

My own serial flash is w25q64 combine with STM32G071RB nucleo board. I try to read the JEDEC ID (0x9F). Based on datasheet, the output of JEDEC ID instruction is Manufacture ID, Memory Type, and Capacity. In fact, the module give me 0xEF0018. Manufacture ID = 0xEF Memory Type = 0x00 Capacity = 0x18

Based on the w25qxx.c file, the 0xEF0018 & 0x0x0000FFFF results 0x18. If the module give me 0xEF4018 then the result is 0x4018. What should I do ? to make it 0xEF4018.

Thanks & Best Regards, Octarudin

octarudin commented 4 years ago

Dear experts,

Finally, I found the problem. The jumper cable is not connected with the board properly. Even it looks fine. I do a ring test with my multimeter to the jumper cable that connecting the module and the nucleo board and there are so much cable that are not connected properly. So, the solution is change that cables with proper one.

Thanks & Best Regards, Octarudin