A (working) example to demonstrate use of non-blocking DMA transactions on a nrf52840_mdk (makerdiary) board.
The board houses 2 DMA-capable peripherals
- TWIM (I2C in master mode)
- TWIS (I2C in slave mode)
TWIM reads
from and writes
to TWIS via DMA, asynchronously using rtic
.
Make sure the board is connected to your host machine (i.e laptop) and run the following command
cargo embed --chip nrf52840_xxAA --release
pre-requisites:
- install
rust
- the following build target must be installed -
thumbv7em-none-eabihf
- install
cargo-embed