Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | USART0's FIFO empty question

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

USART0's FIFO empty question - naderus2000 - Mar 1 15:32:14 2007

I need to fill 16 byte each time i recieve INT.so i must sure the the
FIFO is empty.

For testing that the USART0's FIFO is fully empty is it enough to check
the THRE or must test the TEMT?



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


Re: USART0's FIFO empty question - Robert Adsett - Mar 1 17:24:47 2007

At 08:32 PM 3/1/2007 +0000, naderus2000 wrote:
>I need to fill 16 byte each time i recieve INT.so i must sure the the
>FIFO is empty.

If you receive the transmit interrupt the FIFO is empty.

Robert

http://www.aeolusdevelopment.com/

From the Divided by a Common Language File (Edited to protect the guilty)
ME - "I'd like to get Price and delivery for connector Part # XXXXX"
Dist./Rep - "$X.XX Lead time 37 days"
ME - "Anything we can do about lead time? 37 days seems a bit high."
Dist./Rep - "that is the lead time given because our stock is live.... we
currently have stock."


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

Re: USART0's FIFO empty question - nader chinichian - Mar 2 4:41:43 2007

thanks,
what is the different between TEMT and THRE bit?
when should i use TEMT?

Robert Adsett wrote:
At 08:32 PM 3/1/2007 +0000, naderus2000 wrote:
>I need to fill 16 byte each time i recieve INT.so i must sure the the
>FIFO is empty.

If you receive the transmit interrupt the FIFO is empty.

Robert

http://www.aeolusdevelopment.com/

>From the Divided by a Common Language File (Edited to protect the guilty)
ME - "I'd like to get Price and delivery for connector Part # XXXXX"
Dist./Rep - "$X.XX Lead time 37 days"
ME - "Anything we can do about lead time? 37 days seems a bit high."
Dist./Rep - "that is the lead time given because our stock is live.... we
currently have stock."

---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.

[Non-text portions of this message have been removed]


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

Re: USART0's FIFO empty question - suvidhk - Mar 2 9:13:04 2007

If you want to be sure that all characters in transmitter are
transmitted completely you can use TEMT.
TEMT indicate that the last char in shift register has been
transmitted whereas THRE indicates that last char has been moved to
the Transmit Shift register.

Suvidh
--- In l...@yahoogroups.com, nader chinichian wrote:
>
> thanks,
> what is the different between TEMT and THRE bit?
> when should i use TEMT?
>
> Robert Adsett wrote:
> At 08:32 PM 3/1/2007 +0000, naderus2000 wrote:
> >I need to fill 16 byte each time i recieve INT.so i must sure the the
> >FIFO is empty.
>
> If you receive the transmit interrupt the FIFO is empty.
>
> Robert
>
> http://www.aeolusdevelopment.com/
>
> From the Divided by a Common Language File (Edited to protect the
guilty)
> ME - "I'd like to get Price and delivery for connector Part # XXXXX"
> Dist./Rep - "$X.XX Lead time 37 days"
> ME - "Anything we can do about lead time? 37 days seems a bit high."
> Dist./Rep - "that is the lead time given because our stock is
live.... we
> currently have stock."
>
>
>
>
> ---------------------------------
> Check out the all-new Yahoo! Mail beta - Fire up a more powerful
email and get things done faster.
>
> [Non-text portions of this message have been removed]
>



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