From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32038 invoked by alias); 17 Jul 2002 08:11:29 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 32031 invoked from network); 17 Jul 2002 08:11:26 -0000 Received: from unknown (HELO hhlx01.visionsystems.de) (62.145.30.242) by sources.redhat.com with SMTP; 17 Jul 2002 08:11:26 -0000 Received: from kallisto.intra.visionsystems.de (kallisto.intra.visionsystems.de [192.168.1.3]) by hhlx01.visionsystems.de (8.11.1/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id g6H8B6d04877; Wed, 17 Jul 2002 10:11:09 +0200 Message-Id: <200207170811.g6H8B6d04877@hhlx01.visionsystems.de> Received: from there (development1.intra.visionsystems.de [192.168.1.36]) by kallisto.intra.visionsystems.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id PB6W8YRK; Wed, 17 Jul 2002 10:11:06 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Roland =?iso-8859-1?q?Ca=DFebohm?= To: "Ravi Kumar B S" , "Vinayak P Risbud" , "Ecos-Discuss" Date: Wed, 17 Jul 2002 01:11:00 -0000 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ECOS] serial port ARM e7t problem X-SW-Source: 2002-07/txt/msg00243.txt.bz2 On Wednesday, 17. July 2002 06:26, Ravi Kumar B S wrote: > The Samsung microcontroller has a DMA controller with it. the UART can be > configured to work along with the UART chip. This is called DMA mode of the > UART chip. With this you can configure to get the interrupt after certian > number of bytes are received instead of single byte interrupt. Has anybody tried to do this? I thinked about it, but I haven't found a way to get an interrupt after a timeout like a FIFO does. A UART with FIFO generates an interrupt after reaching the triggerlevel or if it received less characters after an timeout. Without something like this I will never notify if there are characters but the DMA buffer isn't full. Although there is nothing like a triggerlevel. If the UART gets the last character fitting in the DMA-Buffer the interrupt happens and I have to copy the buffer and restart the DMA before the next character is coming. So I have the same chance to loose a character. Roland -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss