Commit 1f1c8f7
committed
hal: ambiq: apollo3p: introduce a new MSPI API
The new API am_hal_mspi_cq_scatter_xfer is introduced to fit zephyr MSPI
API better and fixes some bugs.
1. Transfer settings being ignored by DMA: now add the settings to cmdq
if they are different from mspi_device_cfg.
2. The async transfers are now able to be queued from different
mspi_transceive calls.
2. Separate scrambling from am_hal_mspi_device_configure to allow more
dynamic control without affecting the CQ.
3. Cq reset without cq disable would sliently fail.
Signed-off-by: Swift Tian <swift.tian@ambiq.com>1 parent 87a188b commit 1f1c8f7
2 files changed
Lines changed: 921 additions & 31 deletions
0 commit comments