Protocols

Various communication protocols for the 8051/ 8052 microcontroller, written in C for the Keil C51 compiler.

Downloads.

Keil C51 compiler, High-level Data Link Controller State machine routines for 8051 microcontrollers. – HDLC.zip
100kHz I2C communications protocol routines for the 8051 and Keil C51. – I2C_0.1-1.zip
Xmodem transfer protocol routines for 8051 Keil C Compiler. – Xmodem-1.zip

Serial IO

The Sio_poll low-level serial input/ output routines for the 8051 microcontroller are written specifically for the Keil C51 compiler. They provide simplified low-level serial hardware configuration functionality, in addition to byte-oriented RS232 transmission and reception primitives.

The implemented serial communications primitives may be called either directly, or indirectly via calls to pre-existing high-level C library functions such as puts(), printf(), getchar() and scanf().

9-pin RS232 cable.

Downloads.

Low-level 8051 serial input/ output routines for Keil C51. – Sio_poll_0.3.zip
Low-level 8051 serial input/ output routines for Keil C51. – Sio_poll_0.5.zip
Low-level 8051 serial input/ output routines for Keil C51. – Sio_poll_0.6.zip
Xmodem transfer protocol routines for 8051 Keil C Compiler. – Xmodem-1.zip