Re: [Amforth] Soft Serial Port

2019-01-24 Thread Erich Wälde
Hello,


Peter C. Hauser writes:
> If you want hardware serial you cannot really use the Arduino
> Uno as the ATmega328 microcontroller only has one UART, which
> is used by Forth for its communication.

atmega644p has 2 serial interfaces. It is the same package as
the 328p. I have toyed around with two serial interfaces, but
with not much success. That was a problem of how to utilize this
second uart, more than anything else. I'm sure, it can work.

Cheers,
Erich


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Soft Serial Port

2019-01-24 Thread Peter C. Hauser
Jan and Tristan,

If you want hardware serial you cannot really use the Arduino Uno as the 
ATmega328 microcontroller only has one UART, which is used by Forth for its 
communication. 

The ATmega2560 on the current Arduino Mega board has 2 spare UARTs. However, 
one might have to first build the Forth kernel for it. The AmForth package 
comes with a hex file for the old Arduino Mega board (fitted with a ATmega1280) 
and that might not be fully compatible with the ATmega2560...

With regards

Peter


> On 24 Jan 2019, at 18:10, Tristan Williams  wrote:
> 
> Hi Jan,
> 
> Not as far as I know. However, the mailing list archive
> 
> https://sourceforge.net/p/amforth/mailman/amforth-devel/
> 
> is worth searching (bitbang) and there are some messages relating to
> your particular question. It would certainly be a nice feature to
> have, perhaps along with being able to access a second hardware uart
> from within AmForth. The latter has been on my would-like-todo list
> for a while. If anyone has achieved this I would be grateful for any
> pointers. 
> 
> Kind regards,
> 
> Tristan
> 
> On 24Jan19 13:45, Jan Kromhout via Amforth-devel wrote:
>> Hello,
>> 
>> Is soft-serial implemented in amForth.
>> I wont to connect a serial device to the arduino.
>> 
>> Cheers,
>> 
>> Jan
>> 
>> 
>> 
>> ___
>> Amforth-devel mailing list for http://amforth.sf.net/
>> Amforth-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>> 
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel



___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Soft Serial Port

2019-01-24 Thread Tristan Williams
Hi Jan,

Not as far as I know. However, the mailing list archive

https://sourceforge.net/p/amforth/mailman/amforth-devel/

is worth searching (bitbang) and there are some messages relating to
your particular question. It would certainly be a nice feature to
have, perhaps along with being able to access a second hardware uart
from within AmForth. The latter has been on my would-like-todo list
for a while. If anyone has achieved this I would be grateful for any
pointers. 

Kind regards,

Tristan

On 24Jan19 13:45, Jan Kromhout via Amforth-devel wrote:
> Hello,
> 
> Is soft-serial implemented in amForth.
> I wont to connect a serial device to the arduino.
> 
> Cheers,
> 
> Jan
> 
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


[Amforth] Soft Serial Port

2019-01-24 Thread Jan Kromhout via Amforth-devel
Hello,

Is soft-serial implemented in amForth.
I wont to connect a serial device to the arduino.

Cheers,

Jan



___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel