- Can LPSPI7 be assigned to Cortex‑M33 instead of Cortex‑A55?
Yes.
Practical configuration steps (inferred from architecture)
You will need:
- TRDC configuration
- Assign LPSPI7 peripheral region to M33 domain
- Remove A55 access (optional but recommended for isolation)
- Clock + reset setup
- Typically done by A55 → passed to M33 (or handled via SCFW/firmware depending on flow)
- Interrupt routing
- Ensure LPSPI7 IRQ enabled in M33 NVIC
- DMA (optional)
- Use eDMA channel:
- TX: mux slot 83
- RX: mux slot 84
- Is there an SDK example for LPSPI on M33 (i.MX93)?
What likely exists (based on MCUXpresso design)
- Generic LPSPI driver for Cortex‑M33
- Example projects (board-dependent):
- lpspi_master
- lpspi_interrupt
- lpspi_edma
- How to measure SPI throughput / sampling rate?
Method 1 — GPIO toggle (cycle-accurate)
Method 2 — pure bus clock verification
Method 3 — DMA stress test (recommended)
For max throughput:
- Use LPSPI + eDMA
- Continuous transfer (loop / ping‑pong buffer)
- Measure:
- sustained bandwidth
- CPU utilization
- Performance / clock limitations on M33
The RM provides system capability but does not explicitly state “M33-specific SPI limit”.
However:
- M33 runs @ ~250 MHz
- LPSPI supports DMA (important for high throughput)
- No architectural limitation tying SPI speed to A55