FreeRTOS with PIC18 and ECPLL
Posted by Bob Cobb
on August 7, 2008
I am using FreeRTOS with a PIC18F87J11. I have a 10 MHz clock input and plan to use the PLL to run it at 40 MHz. I set the configuration bits to use ECPLL, and set the OSCTUNEbits.PLLEN to 1. If I run the code using a Real ICE emulator, the PIC will continuously reset. If I set the OSCTUNEbits.PLLEN to 0, the code runs fine at the lower speed. If I program the part and let it run stand-alone, it doesn’t run at all. I have not had this problem with other RTOS’s on the same part (and board), but I’m not sure if it is the RTOS. I’m open to any suggestions and questions!
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.