Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner