Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Missing data in UART RX

Posted by CP Kwok on February 20, 2009
Hi all,
I am implementing a port to At91sam7se512. I have create 3 tasks, one for UART received data handling, one for key board and one for applcation.

My problem is I found that the UART RX has missed some data. This looks like the system has missed some interrupts.
Will this happen in tasks switching?

Does anyone have any idea??

Thanks & Regards,
CPKwok

RE: Missing data in UART RX

Posted by echel0n on February 20, 2009
Strange cause I as well am experiancing simular issues. I can receive data in sometimes and send data out but it seems after awhile it locks up the device.

Not sure why.

RE: Missing data in UART RX

Posted by sotd on February 20, 2009
Using sam7s sending lots with uart using DMA on transmit and rec and semaphre to trigger tasks. Working very well not lost chars.

RE: Missing data in UART RX

Posted by CP Kwok on March 2, 2009
Thx sotd. I am also using DAM on TX and RX as well, could u tell me more about using semaphore to trigger tasks?


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS