Quality RTOS & Embedded Software

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




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) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists