chipKIT® Development Platform

Inspired by Arduino™

DMA Serial

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


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?


majenko

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?


EmbeddedMan

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

The DMA "softserial" library is here : [url]http://www.microchip.com/forums/m361004.aspx[/url]

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

*Brian


laputa

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?


EmbeddedMan

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-

*Brian