Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Experiments with the XY-LPWM module

License

NotificationsYou must be signed in to change notification settings

TG9541/XY-LPWM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis-CI

XY-LPWM

Hardware

J3 ICP PinSignal
1+3.3V (supply)
2NRST
3SWIM andserial console
4STM8S003F3P6 Vcap (do not connect)
5GND

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. Anew 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

Runmake on a Linux system to...

  • pull dependencies
  • build the STM8 eForth board package
  • transfer board Forth code fromXY-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

[8]ページ先頭

©2009-2025 Movatter.jp