Quality RTOS & Embedded Software

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




Loading

UART in PIC24 Project not working properly

Posted by Bopamo Osaisai on January 13, 2012
I am playing around with the PIC24 FreeRTOS project (V7.1.0) on the Explorer16 development board and I'm having problems with the UART driver included in the demo. It is not transmitting the right characters to the hyperterminal. I have gone as far as gutting the entire project and all that is left is a task that transmits a single character and transmission seems to be garbled. I've run the project on different verified hardware but I am still having the same consistent issue.

Has anyone else had similar issues with the UART? If so, how was it rectified?

Thank you!


RE: UART in PIC24 Project not working properly

Posted by Dave on January 13, 2012
Is it just a baud rate problem. Does the chip you are running have the same clock assumed in the baud rate calculation?

RE: UART in PIC24 Project not working properly

Posted by Bopamo Osaisai on January 13, 2012
Yes, you are right. I took a closer look at my baud rate calculations and noticed that my oscillator configurations were slightly off. I changed them and it seems to be working fine now.

Thank you!


[ 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