YASP project is a lightweight network protocol for micro controllers.
Version: 0.4YASP project is a lightweight network protocol for micro controllers.
Operating System: Linux
YASP is a simple and open protocol for building networks with small microcontrollers. It is designed to have a small footprint for easy implementation with minimal hardware resources, but without sacrifice advanced features and future growth.
The protocol scalability is implemented using variable length fields.
The physical layer use the NRZ encoding as in RS-232, but using dominant and recessive bus states to provide a reliable way to detect collisions.
Here are some key features of "YASP":
· Node adresses: 1 to n bytes
· Medium access: CDMA/CS/NDA (Carrier Sense Multiple Access / Collision Detection / Non-Destructive Arbitration)
· Addressing modes: unicast, broadcast and multicast
· Smallest frame: 6 bytes
· Error detection: CRC16
· Bus signaling: 1-wire "open collector" or 2-wire diferential (CAN transceiver)
· Current PIC implementation: about 480 words of code and 25 bytes of RAM (interrupt driven)
What's New in This Release:
· Fixed minor framing bugs that affect reception of consecutive frames.
· Added sample code for analog inputs node using 16f876.