Giter VIP home page Giter VIP logo

stm8tilink's Introduction

STM8TILink

The TI grey link clone based on arduino code and half duplex code for stm8s (credits after this line). WIP

credit

DSchndr fork of jw0k repo.

PCB (at OSHpark).

rev1 PCB.

Extra

Due to the physical limitation of STM8S001J3 available pin. I was forced to use the single wire bi-directional UART. which it means that I share TX and RX on same pin (based on This guy work). The problem starts when host send data to CH330N, since the TX is connected to schottky barrier diode on cathod side, anode side is connected to STM8 (with 4.7k pull up) and RX pin of CH330N. The loopback "echo" occured everytime the host send command to STM8. The CH330N doesn't ignore the RX line when TX is transmitting. SO the host confused that the RX data is valid (which is not!). In order to solve this problem. I redesigned the PCB with included the SN74LVC1G3157DBVR, SPDT analog switch. I use this IC for bus isolation. CH330N RX will be isolated when MCU isn't send any data to host, it will left unconnected all the time to prevent the loopback echo and confuse host device.

stm8tilink's People

Contributors

tinredmc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.