Skip to content

Back to back UART DMA transactions #463

@akhilveeraghanta

Description

@akhilveeraghanta

I just wanted to follow up on this ticket: #216

Is it possible to do back to back DMA transactions? Or is the workaround in that ticket still the only way to reset the dma channel?

      let mut rx = serial.rx.with_dma(channels.3); : RxDma<Rx<USART3>, C3> channel:                                                   
+     let mut buf = singleton!(: [u8; 128] = [0; 128]).unwrap(); : &mut [u8; 128]                                                     
+     (buf, rx) = rx.read(buf).wait(); buffer:                                                                                        
⚠     (buf, rx) = rx.read(buf).wait(); buffer:  

Simply having another rx.read blocks forever, any help would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions