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

Improve simulated serial full-duplex code #41

Closed
TG9541 opened this issue Jul 22, 2017 · 1 comment

Comments

@TG9541
Copy link
Owner

commented Jul 22, 2017

The simulated serial interface was optimized for the "single GPIO half-duplex" use case. As a two wire interface it works well for interactive use case since there is a delay between keystrokes.
When used with programs with line buffer and no delay between characters (like e4thcom) an implementation is needed that uses independent receive and transmit states.

@TG9541

This comment has been minimized.

Copy link
Owner Author

commented Jul 22, 2017

Full duplex operation now works with "zero delay" between received characters (tested with W1209 and e4thcom). The serial interface simulation code was moved to include files.

@TG9541 TG9541 closed this Jul 22, 2017
hexagon5un pushed a commit to hexagon5un/stm8ef that referenced this issue Aug 8, 2017
* upstream/master: (25 commits)
  reference to Wiki updated
  library additions
  library mcu according to e4thcom convention
  Update README.md
  some bytes saved
  some editing
  Fixes TG9541#44: XH-M188 lockup after power cycle
  fixes TG9541#43 Provide a Forth library infrastructure
  fixes TG9541#42 Improve W1209 ease of use
  fixes TG9541#42 Improve W1209 ease of use
  fixes TG9541#41: improved full duplex simulated serial
  edit
  Fix for UART simulation with 2 GPIOs
  HAS_ALIAS default on (IMMEDIATE words in RAM possible)
  SWIMCOM fix for HEADER macro, option WORDS_HWREG off
  issue TG9541#32 Build framework feature #include
  fixes TG9541#39 : underflow error message doesn't match normal pattern
  fixes TG9541#39 : underflow error message doesn't match normal pattern
  issue TG9541#32 Build framework feature: Forth application binary with uCsim
  issue TG9541#32: use telnet library
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.