nihalpasham / rtic-twim-twis-dma-demo

A (working) example to demonstrate use of non-blocking DMA transactions on a nrf52840_mdk (makerdiary) board.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rtic-twim-twis-dma-demo

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.

Usage

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

About

A (working) example to demonstrate use of non-blocking DMA transactions on a nrf52840_mdk (makerdiary) board.

License:MIT License


Languages

Language:Rust 100.0%