AsynchroSlave
 
 
 Bean AsynchroSlave
 
Asynchronous serial communication - slave
High Level Bean

This bean supports an asynchronous serial master-slave communication (slave mode). This allows to connect up to 256 microcontrollers (just 1 master and up to 255 slaves). Each slave has its own unique identification - a number between 0 and 254. The communication format consist of 8 information bits and 1 control wake-up (or broadcast) bit.

At the begining the slaves are in communication-sleep mode (waiting for a "High" as wake-up bit). The master sends the 8-bit address of the slave to communicate with and a "High" as wake-up bit. All slaves wake up and receive the information. The selected slave starts to communicate with the master, the others go back to the communication-sleep mode. During the communication with the selected slave, the master sends 8 bits of data and a "Low" as wake-up bit. Consequently, the rest of slaves are not woken-up.


This bean belongs to the category: CPU Internal Peripherals-Communication



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.