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.

CCS/HALCOGEN: I want to use the two RM46 HDK sensors in an existing HalCoGen project

Part Number: HALCOGEN

Tool/software: Code Composer Studio

I want to use the light and temperature sensors on the RM46 HDK board.

I used an example (portions of adcDisplay) as a starting point to make changes.  I am seeing reasonable values, but the values do not change.

  • Hello Neil,

    Is this application running in FreeRTOS or in a control loop? Are you using the ADC in a continuous mode or one shot mode? Are you using direct read of the ADC buffers or are you using the FIFO? How are you stimulating the sensors to effect a change in the ADC values? Are you seeing a corresponding change in the voltage output from the sensors?
  • I needed to do two things for my project:
    1). Utilize the continuous mode setting inHalCoGen (it was shown in the screen shots, but I missed it first time around).
    2). Shrink the FIFO size to just the space needed for my sensor readings. That change permitted my CAN/J1939 processing to conclude in timely manner.

    In order to reduce value bleed-over, I added a discharge time.