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.

How to read Omap3530 temperature sensor ?

Other Parts Discussed in Thread: OMAP3530, DM3730, OMAP3503

Hi All,

 

We need to read the omap3530 temperature sensor, hence what is the way to read it under WinCE BSP , Linux or any other OS ?

 

Regards,

Misbah

  • What temperature sensor are you referring to? Is it some external sensor you have mounted on your design? I don't know about any temperature sensor built into the OMAP3530 processor, please let us know if you have some information saying otherwise.
  • Hi,

    @ Misbah: I do not use those BSPs. Please refer to the description in TRM (link below). Writting proper driver should not be a big effort.

    @ Adeneo Embedded support team: According to the http://www.ti.com/litv/pdf/sprugw3t, chapter 7.4.6 OMAP3530 has a temperature sensor.

    Best regards,

    Lukasz T 

  • Hi Lukasz,

     

    Thanks for the reply.

     

    Yes Omap3530 has a temperature sensor . Can you confirm that the feature is enabled and we can read it .

    The below link says that TI has not enabled the read support

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/p/56801/205780.aspx

     

    Hence all i need is from TI to confirm us that, the read support is enabled and temperature sensor module is functional.

     

    Regards,

    Misbah

  • Hi,

    Generally from HW point of view temperature sensor mudule is functional and it is possible to read a temperature (ADC code) from proper register via software.  

    From link that you have enclosed, ensue that Linux PSP doesn't support this feature in given version.

    I am not using Linux PSP provided by TI, so I cannot confirm, if it is enabled there in latest version.

    Best regards,

    Lukasz

  • Hi All,

     

    I tried to configure temperature sensor register address 0x48002524 to continues temperature conversion and single temperature conversion.

    I made SOC high and poll for EOCZ to go high ,but it never went high. This indicates that there is no conversion going to begin.

    After waiting for several ms i tried to read the temperature bits and value i got is zero all the time.

     

    i could not understand the underlying issue associated with it.

     

    can you please help ?

     

    Regards,

    Misbah

  • Hi Misbah,

    I am having a similar problem although with the DM3730 SoC which according to the documentation should be the same as the OMAP35x. If you found anything to solve this I'd like to know as well !

    Best regards,

    Henk-Jan

  • Hi Henk Jan

    I don't know if you're still working on this item or not, but this is what I did in order to make it work with OMAP3503 (this is supposed to be similar to the OMAP3530).

     

    The first thing I did was to enable the Temperature Sensor functional clock control (check the CM_FCLKEN3_CORE register, there's one bit for that)

    After that I wait for 3ms and then I change the following bits inside of the CONTROL_TEMP_SENSOR register: CONTCONV = 0 and SOC = 1.

    I wait for another 3 ms and now I clear the SOC bit (SOC = 0).

     

    By following this specific sequence I have been able to read the temperature value from the temperature sensor inside of the OMAP.

     

    Regards

    Igmar