serial used to work

Questions on UARTs, and serial communication
Post Reply
Posts: 22
Joined: Tue Nov 05, 2013 8:17 pm

serial used to work

Post by ronr »

I must be doing something wrong.
I have been using Basictools version 7.36 with an "ArmMite Pro" without problems for a long time. Now I switch to version 9.28 with the same hardware and software. After I corrected some syntax errors for the new compiler, I cannot get the RXD(1) function to work right.

Using "CH=RXD(1)", the PRO sees typed input from the BASICtools console, but does not see input on IO pin0 (from a serial terminal), like it used to with "CH=RXD1" in 7.36. I have set BAUD(1)=38400. Typed input from the BASICtools console is seen whether I use "CH=RXD(0)" OR "CH=RXD(1)" in the program, while input on IO pin0 is never seen using "CH=RXD(1), when compiled with Version 9.28.

Is there a solution to this strange problem? Thank you for any advice.

Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL

Re: serial used to work

Post by basicchip »

The new compiler did not support UART1 and the OLD firmware.

The version of the compiler below will support UART on OLD firmware IF you use RXD1 and TXD1. You can use BAUD(1), but NOT RXD(1) and TXD(1) when using the old firmware.
(127.8 KiB) Downloaded 1126 times

Post Reply