Skip to content

Conversation

swift-tk
Copy link
Contributor

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. 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.

@swift-tk
Copy link
Contributor Author

Hold, something is wrong.

@swift-tk swift-tk force-pushed the apollo3p-mspi-feature-update branch from 1f30324 to 77249ca Compare November 26, 2024 09:59
@swift-tk
Copy link
Contributor Author

In NORMAL or STREAM mode, MSPI now allows queuing up transfers from different async mspi_transceive calls.

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 <[email protected]>
@swift-tk swift-tk force-pushed the apollo3p-mspi-feature-update branch from 77249ca to 1f1c8f7 Compare November 26, 2024 11:20
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

Successfully merging this pull request may close these issues.

3 participants