casaroli commented on PR #19521: URL: https://github.com/apache/nuttx/pull/19521#issuecomment-5075553894
@linguini1 I added comments to the 3 busy-wait that are needed. Fortunately they only part of `rp23xx_psram_detect()`, which only runs at boot time. According to claudio, they are required because: 1. After the quad-mode nudge (rp23xx_psram.c:178) — the 0xf5 frame must finish before CS deasserts, or the part stays in quad-continuation mode. 2. After each READ_ID byte (rp23xx_psram.c:202) — the byte must finish shifting in before DIRECT_RX is read, or KGD/EID sample early. 3. After each reset/quad-enable command (rp23xx_psram.c:260) — the command must finish before CS deasserts, or the bus wedges. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
