Coder Social home page Coder Social logo

xy-lpwm's Introduction

STM8 eForth experiments with the XY-LPWM board

Travis-CI

XY-LPWM

Hardware

J3 ICP Pin Signal
1 +3.3V (supply)
2 NRST
3 SWIM and serial console
4 STM8S003F3P6 Vcap (do not connect)
5 GND

Recently XY-LPWM modules are based on the Nuvoton N76E003AT20 controller which is a MCS51 type "pin-compatible" replacement for the STM8S003F3P6 which is otherwise incompatible. A new board has appeared that uses an unknown µC in an SO16 package. This means it's getting more risky to use this board if you intend modify it.

schematics

This chip must be replaced for using STM8 eForth.

Building

Run make on a Linux system to...

  • pull dependencies
  • build the STM8 eForth board package
  • transfer board Forth code from XY-LPWM/board.fs

STM8 eForth Console

In order to free up the STM8S UART for development, the Forth console uses a simulated half-duplex serial interface on PD1/SWIM. The serial console and an ST-LINK V2 (or a corresponding USB dongle) can be connected in parallel:

XY-LPWM        .      .----o serial TxD "TTL"
               .      |      (e.g. "PL2303" USB serial converter)
               .     ---
               .     / \  e.g. 1N4148
               .     ---
ICP header     .      |
               .      *----o serial RxD "TTL
               .      |
VCC------------>>-----+----o ST-LINK 3.3V
               .      |
Vcap----------->> NC  |
               .      |
STM8 PD1/SWIM-->>-----*----o ST-LINK SWIM
               .
NRST----------->>----------o ST-LINK NRST
               .
GND------------>>-----*----o ST-LINK GND
               .      |
................      .----o serial GND

xy-lpwm's People

Contributors

tg9541 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xy-lpwm's Issues

stm8ef / XY-LPWM

I found a link to your repository for XY-LPWM on the Internet.
I wanted to make an indicator for myself based on PWM XY-LPWM.
I ordered the boards on Aliexpress, but when I received them, it turned out that they had another controller with a worn-out name (in the SOP-16 case).
image

Do you happen to know what controller this is???

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.