Skip to content

fulda1/SUSI2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest by date) GitHub Release Date GitHub commits since latest release (by date) GitHub stars arduino-library-badge License

Introduction

This library is heavily inspired by https://github.com/TheFidax/Rcn600/ At minimum trying to keep same interface. Main change is, that this one is developed for little more actual processor CH32V003. (with theoretical upgrade to other CH32V.. family, and some STM32.. family)

Index


S-9.4.1 Rcn600 SUSI

SUSI (Serial User Standard Interface) is communication standard inside locomotive (train bus) developed by Dietz Elektronik GmbH, adopted by Rail Community and NMRA.
Rail Community adopted this standard as RCN-600, NMRA adopted it as S-9.4.1 (currentely under revision).

This library allows you to use an Arduino board with chip CH32V003F4 (or similar) as a Slave for the SUSI interface.
Library tested on Nano RISC-V CH32V003 (CH32V003F4U6).

To work, you need 2 resistors 470Ω in series on the SUSI lines (Clock and Data).
On procesor CH32V003 Clock must be connicted to pin PC5 (SPI_SCK) and Data must be connected to pin PC6 (SPI_MOSI). Both pins are 5V tolerant (as requested in specification).

Simplified schematic:


Video Example

Video Example


Library API

The APIs for the library are in the "readme.md" file available under the folder 'src'.


Examples of Use

Under the folder "examples" are available examples of using the library.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors