PDA

View Full Version : Eusart?



rastan
- 27th January 2005, 21:32
Hi just wondering how to use EUSART with picbasic pro. never used it before.
anyone had a pop? if so, what are the differences?

cheers

phil

mister_e
- 27th January 2005, 22:46
Do you mean USART?

USART is a built in feature in som PIC that allow serial communication without using SERIN/SEROUT function. This allow you to save a amount of code space and to use USART interrupt too. Do a search with USART or HSERIN or HSEROUT... this will give you about 2 millions of threads ;)

rastan
- 27th January 2005, 22:50
hehe, yeah i no....
i did mean EUSART. its Enhanced USART.

this is straight off the 16f688 datasheet

ENHANCED UNIVERSAL
ASYNCHRONOUS RECEIVER
TRANSMITTER (EUSART)
The Enhanced Universal Synchronous Asynchronous
Receiver Transmitter (EUSART) module is the serial
I/O module available for PIC16F688 . (EUSART is also
known as a Serial Communications Interface or SCI).
The EUSART can be configured as a full-duplex
asynchronous system that can communicate with
peripheral devices, such as CRT terminals and
personal computers. It can also be configured as a
half-duplex synchronous system that can communicate
with peripheral devices, such as A/D or D/A integrated
circuits, serial EEPROMs, etc.
The EUSART module implements additional features,
including automatic baud rate detection and
calibration, automatic wake-up on Break reception and
13-bit Break character transmit. These make it ideally
suited for use in Local Interconnect Network (LIN) bus
systems.
The USART can be configured in the following modes:
• Asynchronous (full-duplex) with:
- Auto-wake-up on Break
- Auto baud calibration
- 13-bit Break character transmission
• Synchronous – Master (half-duplex) with
selectable clock polarity
• Synchronous – Slave (half-duplex) with selectable
clock polarity

cheers man