UART gives garbage in FreeRTOS+IO in MPU mode in lpc 1769

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART gives garbage in FreeRTOS+IO in MPU mode in lpc 1769

470 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bhaveshshah2310 on Wed Feb 18 06:38:33 MST 2015
I am trying to make a code in MPU mode which print some status of tasks on UART terminal using UART3 in MPU mode

I am using FreeRTOS+IO framework for UART communication. I took UART code from FreeRTOS.org site which have many IO parts in it like I2C UART etc.
I have tested this code separately where MPU is not present and it is running properly it is giving properly. I can see proper output string on minicom console in linux.
now in my project i create an environment for MPU and include necessary files for FreeRTOS+IO framework. which include CMSISv2p00_LPC17xx with lpc17xx.cmsis.driver.library and necessary changes FreeRTOSConfig.h and also added FreeRTOS_IO_BSP.h and FreeRTOSIOConfig.h

all the necessary thing is been changed but when i try to open UART3 port and try to write something in it then it shows in a garbage form on the minicom terminal. the same bunch of code which is working in freeRTOS+IO framework is not giving garbage over here . .
i have checked the baud-rate and the SystemCoreClock is same as it should be in FreeRTOS_IO demos..

i am bit confuse here which other factors can cause the output string in garbage. then those factors . . can anyone suggest me something on this ? how to solve this problem.
Labels (1)
0 Kudos
Reply
0 Replies