Quality RTOS & Embedded Software

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




Loading

dsPIC33FJ128MC202 ADC Not Working with RTOS

Posted by John on August 15, 2008
I am having issues with the ADC module while using RTOS. I have greatly simplified my code to find the issue and cannot - the exact module code works on the platform without the RTOS. All SFR contents are been written to and the contents have been verified, however the conversion buffer (ADC1BUF0) is not being filled with the converted value. Any thoughts? Anyone had this issue?

RE: dsPIC33FJ128MC202 ADC Not Working with RTOS

Posted by Richard on August 15, 2008
I had noticed that the ADC stopped working when I upgraded a compiler version (some time back, not the latest upgrade). Could this be due to a change in a compiler provided library header file or linker script? The FreeRTOS.org demo (I think from memory) uses a linker script in part of the application code rather than linking to one in the compilers directory so it might be that this needs updating. It was done this way because at the time there was no way of linking to the correct linker script in the compilers directory without using an absolute path.

Regards.

RE: dsPIC33FJ128MC202 ADC Not Working with RT

Posted by John on August 16, 2008
Thanks for the advice. I spent a fair bit of time digging into the port portion of the RTOS. I actually think the issue ended up being a development board setting I didn't quite understand.


[ 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