Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TXRX question #132

Closed
B1tbang3r opened this issue Sep 16, 2021 · 3 comments
Closed

TXRX question #132

B1tbang3r opened this issue Sep 16, 2021 · 3 comments

Comments

@B1tbang3r
Copy link

Hello ive build runcpm and i verified that its working through the serial monitor in the arduino ide

i hooked up a serial terminal board (esp32 with fabgl) and tried rxtx pin 0 and 1 on the arduino due but nothing

ive set the correct baud settings i think 9600 8N1

is there another pinout i should follow or is this txrx not implememted and only accesible through the usb ports ?

@guidol70
Copy link
Contributor

guidol70 commented Sep 16, 2021

@B1tbang3r
Pin0 (RX0) ans Pin1 (TX0) is normally working on the DUE, but can interference when the USB-Port not only delivers power - but has a computer connected who do try to use the USB-serial port.
I had this problem in the past - see the following issue:
RX0 (serial port0) issue with RunCPM on Arduino Due

So as you can read there is better to replace all "Serial." to "Serial1." in all tabs of the .ino and use Pin19 (RX1) and Pin18 (TX1)

The baudrate is OK (when not changed in the .ino) with 9600 Baud

// Serial port speed
#define SERIALSPD 9600

If you didnt receive anything is allways a good test to swap the RX/TX Lines....
Sometimes (depending on Hardware) you have to connect RX/TX and TX/RX or RX/RX and TX/TX ;)

@MockbaTheBorg
Copy link
Owner

Hi @B1tbang3r . How did this go?
Were you able to achieve a solution?

@B1tbang3r
Copy link
Author

B1tbang3r commented Sep 17, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants