chipKIT® Development Platform

Inspired by Arduino™

DMA Serial

Created Mon, 24 Feb 2014 11:34:30 +0000 by laputa


Mon, 24 Feb 2014 11:34:30 +0000

I am in need for another RS232 serial line (I am currently using 2 HW serial lines on my Fubarino). NewSoftSerial is not available for PIC32...

Someone mentioned there is a DMA serial library that could help but that it would need to be ported to MDIDE.

Searching for ports / examples but have not yet found any.

Anyone know of a port for MDIDE?


Mon, 24 Feb 2014 11:44:29 +0000

You mean MPIDE surely ;)

No, I am not aware of a port of that for MPIDE (I hadn't heard of it at all TBH...). I'm not sure how you could couple DMA with software serial.

There is, however, normal SoftwareSerial included with MPIDE you could use.

On the other hand, which version of the Fubarino are you using?


Mon, 24 Feb 2014 16:24:18 +0000

The DMA "softserial" library is here : [url][/url]

And uses a clever DMA technique to make multiple software serial ports.



Tue, 25 Feb 2014 00:23:37 +0000

I am using the SD.

Lots of potential, just need to get the base support in.

The DMA library looks to support profiles.

Could a Fubarino example be created?


Tue, 25 Feb 2014 16:42:37 +0000

I'm sure it could. I'm swamped at the moment with other projects, but it wouldn't be that hard to bring the Microchip DMA source code into MPIDE as an external library. Would you like to give it a try? I'm happy to help out as much as I can-