xous-core/libs
bunnie c44f117331 fixes to udma SPIM for tx-only mode
- fix tx_await() condition to consider both control and tx channels
- make tx_async more efficient for the common case that the buffer
fits in a single transaction by appending the CS de-assert as part
of the initial command stream
- make trait for the udma global clock setting

The high bit in this exploration is that there seems to be no
way to actually confirm when a UDMA transaction has fully completed
on the hardware interface. All the completion signals tell you
when the software-side UDMA resources are freed up. However, in this
case, the hardware-side resources may still be transmitting/receiving
data.

This is a problem for the case of a '4-wire SPI' display where you
need to set an extra line to control command/data mode addressing.

In this case, the current work-around is to read back the state of
the chip select pin as a GPIO to determine when the hardware has
finished.

I suspect that if we can figure out how to use UDMA in a full duplex
mode that we could do something more essentially linked to the
hardware, but this would also require having a dummy Rx buffer allocated
that is the same depth as the hardware Tx buffer if all you cared about
is the hardware conclusion of a Tx.
2024-10-04 12:53:55 +08:00
..
chat update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
cos_table format libs/cos_table 2024-01-14 19:12:38 +08:00
cramium-hal fixes to udma SPIM for tx-only mode 2024-10-04 12:53:55 +08:00
flatipc update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
flatipc-derive update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
mass-storage absorb new xous-ipc version 2024-09-23 22:05:50 +08:00
perflib update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
tls update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
userprefs update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
xous-bio commit the version bump 2024-09-23 01:46:25 +08:00
xous-bio-bdma make aclk test allow both registered and unregistered mem configs 2024-09-26 18:19:27 +08:00
xous-pio commit the version bump 2024-09-23 01:46:25 +08:00
xous-pl230 cleanup a warning 2024-10-01 23:15:22 +08:00