This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Setting up ADC with TI-RTOS

I'm working on the F28M35x, and trying to read from the ADC while running TI-RTOS. I'm already able to get the ADC running without TI-RTOS, but I am at a loss for how to mesh the two together. The Non-TI-RTOS example uses a lot of headers and .c files that conflict with TI-RTOS, and if I try to merge the linker command files, it is an utter mess. I've tried looking through the TI-RTOS User Guide, examples, and the configuration files, but there is absolutely nothing there about the ADC.


Thanks for any help.

  • That looks like exactly what I'm looking for. Thanks!

    Working through that example, I do run into one issue. The C28 portion of the TI-RTOS Demo example seems completely different from the SYS/BIOS that your example talks about. I am trying to port the Demo code over into the SYS/BIOS Adc example, to incorporate the interprocessor part, except that the Demo code has modules that do not appear in the SYS/BIOS config, such as the MessageQ and IPC.

    For example, adding this line directly copied from the Demo example to the SYS/BIOS .cfg file gives an error:

    var IpcMgr = xdc.useModule('ti.sdo.ipc.family.f28m35x.IpcMgr');
    IpcMgr.readAddr  = 0x3FC00;
    IpcMgr.writeAddr = 0x3F800;

    Gives the error:

    Description    Resource    Path    Location    Type
    xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.ipc.family.f28m35x' along the path: 'C:/ti/bios_6_35_04_50/packages;C:/ti/ccsv5/ccs_base;C:/Users/mhu/ti/Workspace/task28_F28M35H52C1_TMS320C28XX/.config/;C:\ti\xdctools_3_25_03_72\packages;'. Ensure that the package path is set correctly.    task.cfg    /task28_F28M35H52C1_TMS320C28XX    Configuration Validation    XDCTools Configuration Marker

    Have these been deprecated? Is there an alternative way to send messages?