Post Go back to editing

ADSP-CM408F  FREERTOS ADC_circular not working

Hi,

I have a new ADSP-CM408F development board and was trying to run the example codes from ADC.

I am getting errors (pasted below) when I am trying to build the freertos adc_circular example on IAR for sampling one of the signals on ADC input.I have followed the Software guide to setup the environment of the IAR and still getting these errors. Please advise.

Linking

Error[Li005]: no definition for "__set_BASEPRI" [referenced from C:\Analog Devices\ADSP-CM40x\CM403F_CM408F_EZ-KIT\examples\FreeRTOS\ADCC_Circular\CM408F\iar\Debug\Obj\tasks.o]

Error[Li005]: no definition for "__DSB" [referenced from C:\Analog Devices\ADSP-CM40x\CM403F_CM408F_EZ-KIT\examples\FreeRTOS\ADCC_Circular\CM408F\iar\Debug\Obj\tasks.o]

Error[Li005]: no definition for "__ISB" [referenced from C:\Analog Devices\ADSP-CM40x\CM403F_CM408F_EZ-KIT\examples\FreeRTOS\ADCC_Circular\CM408F\iar\Debug\Obj\tasks.o]

Error[Li005]: no definition for "__get_BASEPRI" [referenced from C:\Analog Devices\ADSP-CM40x\CM403F_CM408F_EZ-KIT\examples\FreeRTOS\ADCC_Circular\CM408F\iar\Debug\Obj\queue.o]

Error while running Linker

Thanks in advance,

Ramana.

Parents Reply
  • Praveen,

    I am using ADSP-CM408F internal ADC and using demo examples of ADCC_Circular given by AD. I am using all the newer versions of IAR and trying to get the digital value by running the demo code. Once I load the program into the internal Flash and execute it using IAR , the code runs for a second and then stops on its own , any idea how can i run it continuously?

    Moreover, the data which is being generated in the .dat file, contains the numbers in the formal which is shown below.

    0
    0
    0
    0
    0
    4521
    15481
    25699
    14770
    3906
    0
    0
    0
    0
    0
    8966
    19797
    21215
    10544

    It contains a lot of 0s in between which are either 4 / 5 and comes again and again. Can you explain me the reason behind this?

    -> Can you also explain how these data appear? for ex. 4521 number, from which computation method did it come from?

    Thanks

Children
No Data