Sign in

username:

password:



Not a member?

Search m68hc11



Search tips

Subscribe to m68hc11



m68hc11 by Keywords

27c256 | 4K81H | 68HC11A1 | 68HC11P1 | 68hc24 | 68HC711E9 | 68HC811 | 8255 | A2D | ADC | ADC12138 | Am85C30 | BRCLR | Buffalo | CMOS | EEPROM | EPROM | Ethernet | EVB | EVBU | HC11E1 | HC11E9 | HC711E9 | Horray | ImageCraft | IRQ | Keypad | LCD | MC68HC11D0FN | MC68HC11E1CFU3 | MC68HC11F1 | MC68HC711E9 | MC68HC711E9CFN2 | Microcore11 | Microstamp11 | Minikit | NVRAM | PSD | PSD8xx | PSD9xx | PT1000 | RS232 | RTS | RXD | SPI | SRAM | TXD | Watchdogs | XIRQ


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | | RE: PC16550D UART with HC11E1

RE: PC16550D UART with HC11E1 - Author Unknown - Jul 26 12:05:00 2002


We are using the 16450 with a 68HC11F1, but in interrupt mode.
The interrupt of the UART is connected to the INT line of the 68HC11 thru
an open collector gate. The interrupt line is also connected to a portso
that the interrupt routine can determine who is calling (this is only
necessary if you've got more than one interrupt chip).

Our main program store and retrieve information from a RAM buffer, which is
used by the interrupt routine to send and receive data.

I must admit we haven't tested at speed of 38kbps and above because our
present application does not require it...but the interrupt driven software
will be faster than the polling driven one.

One thing you must take into account is the baudrate versus the 68HC11
working frequency. At 38kbps you got about 26us bit which makes roughly
250us for a byte to be sent by the UART.
A cycle of 250us correspond to 4kHz, so the 68HC11 should have a much
bigger working frequency...
Using the interrupt driven UART is similar to the internal SCI where the
maximum baudrate is : (Fosc / 4) / 16.
To get at and above 38kbps, the 68HC11 main ocsillator must be much above :
38000 * 16 * 4 = 2.432 MHz if you want to have some time slack to do
something else than sending data to the UART.

Hope this help.
Jean-Luc Lehmann

"Peter Mackel"
<peter_mackel@thermo To: <>
max.co.uk> cc:
Subject: RE: [m68HC11] PC16550D UART with HC11E1
26.07.02 10:20
Please respond to
m68HC11 Hi

Has anyone tried connecting a PC16550D UART to a 68HC11E1? I finding it
difficult to fully utilise the higher baud rates that it offers. I can
transmit at 38K, but my time between bytes (where I have to poll the UART
to
ensure the previous byte has been sent) practically halves my baud rate.

I've connected the interrupt line from the UART to the HC11's PortA, and I
use a falling edge on PORT A to trigger my interrupt rountines.

Just interested if anyone else has used it and if they experienced any
funnies.

Regards

Pete
Yahoo! Groups Sponsor
ADVERTISEMENT
(Embedded image moved to file: pic05816.gif) To unsubscribe from this group, send an email to:

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]





(You need to be a member of m68hc11 -- send a blank email to m68hc11-subscribe@yahoogroups.com )