[SEEED][XIAO_BLE] QSPI Doesn't Use All SPI I/O Lines #98697
MaprilBear
started this conversation in
RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hiya! Popping in to share something I've noticed with the current device tree for the
xiao_bleboard.Right now, the qspi node has an instance of the nordic qspi-nor driver that is set up to work with the on-board p25q16h flash chip. The driver has the
quad-enable-requirementsproperty to enable QSPI communication with the chip, but it fails to specify thereadocandwriteocproperties to actually use Quad I/O reading/writing. The defaults result in only a single line used for I/O.I've tested setting them to read4io and pp4io and they work on my XIAO nRF52840 as expected.
The PR that introduced the quad-enable-requirements property (#55199) did not mention readoc or writeoc at all. The PR that initially introduced the board (#46358) experimented with QSPI at first and folks in the comments did use the readoc/writeoc properties (#46358 (comment) #46358 (comment)). However after some issues arose, adding QSPI was deferred and eventually tackled by the PR I mentioned previously.
Are the readoc/writeoc properties an intentional omission or should this be an improvement?
zephyr/boards/seeed/xiao_ble/xiao_ble_common.dtsi
Lines 123 to 136 in 497209c
nordic,qspi-nor driver docs: https://docs.zephyrproject.org/latest/build/dts/api/bindings/mtd/nordic,qspi-nor.html#nordic-qspi-nor-on-qspi-bus
Beta Was this translation helpful? Give feedback.
All reactions