SerialUSB with DMA for streaming data to a DAC - Teensy 3.6

Status
Not open for further replies.

maelh

Member
Hello,

Currently I am reading data using Serial.read()/readBytes() in loop() until one half of the sampleBuffer is full, while the other half gets copied to DAC0 using DMA.
This works fine now, but it would be even nicer if I could make use of more of the capable DMA functionality to let it handle all of the streaming.

However I couldn't find any DMAMUX source that would send signals when data arrives over SerialUSB (really called Serial on Teensy). Also what would the memory address be where data incoming over USB is stored, so that I could use it as source for the DMA transfer?
 
Status
Not open for further replies.
Back
Top