chipKIT® Development Platform

Inspired by Arduino™

Software Serial Library

Created Fri, 25 Nov 2011 02:24:20 +0000 by adilinden


adilinden

Fri, 25 Nov 2011 02:24:20 +0000

Hi,

Is there a software driven serial library, like NewSoftSerial, available for the UNO32?

Adi


Jacob Christ

Fri, 25 Nov 2011 07:23:39 +0000

I'm not aware of any, maybe someone else knows. It seems that it should be reasonably easy to get this one working on chipKIT due to the numerous CN pins on the PIC32.

Jacob


avenue33

Mon, 28 Nov 2011 15:14:06 +0000

Hi!

I'm sharing the same concern about finding a software serial library that runs on chipKIT.

The NewSoftSerial library relies heavily on AVR interrupts.

Former NewSoftSerial library is renamed SoftwareLibrary and is part now of the standard package of libraries of Arduino IDE release 1.0.

Will it be ported to the Arduino Due Cortex-M3 platform?

There's a specific file icrmacros.h for platform-specific commands and parameters.

icrmacros.h A place to put useful ICR (interrupt change register) macros If you want to support non-Arduino processors you can extend or replace this file. [Legal stuff] The latest version of this library can always be found at http://arduiniana.org.

I opened a thread about the software serial library on chipKIT is :arrow: here.


adilinden

Tue, 29 Nov 2011 05:17:20 +0000

I found te standard SoftwareLibrary. But I didn't try it. If I understand correctly the serial read is blocking and there is no way to check for whether a character is ready to read. That was utterly useless for me. The problem with using UART2 was that the GSM shield had the serial port hard wired to some random io pins.... Working fine with a custom wiring job. But would have been nicer motto ave to massacre the shield...


avenue33

Tue, 29 Nov 2011 07:55:17 +0000

I've opened issue #64 Software Serial Library —NewSoftSerial-like.

See [url]https://github.com/chipKIT32/chipKIT32-MAX/issues/64[/url]