View Single Post
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#551
I'm sorry you feel that way Arie. I have processed your $0.00 refund, but there is a refund fee of 50 cents so now you owe me 50 cents.
I figured out how to read the temperature from the CPU directly, it's not exactly easy. Maybe I can do it but no guarantees. It looks like the max temperature is over 100 degrees (celsius), somewhere in the 125 - 160 degree range.


13.4.6.2 Temperature Sensor
The temperature sensor feature is used to convert the temperature of the device into a decimal value
coded on 7 bits. An internal ADC (realized with a resistor array) is used for conversion. The recommended
operating temperatures must be from –40 to 125°C for standard conversion, and can go up to 160°C
when using the thermal shutdown comparator output (TSHUT signal). This signal indicates a too high
temperature of the device. This signal is internally connected to a general purpose input/output (GPIO)
pin. See Chapter 25, General-Purpose Interface, for more information.
The temperature sensor offers two operating modes: a single conversion mode and a continuous
conversion mode.
That's the non-technical part.
13.4.6.2.1 Single Conversion Mode (CONTCONV = 0)
When the ADC is idle (EOCZ = 0), it is possible to ask for a single temperature conversion. To initiate a
new conversion, the start of conversion (SOC) signal must be asserted and maintained high until the end
of conversion (EOCZ) signal goes high, after which the SOC must be made low by writing 0 to the
CONTROL.CONTROL_TEMP_SENSOR[9] SOC bit. Conversion completion is indicated by a negative
edge on EOCZ (CONTROL.CONTROL_TEMP_SENSOR[8] EOCZ bit).
There's a nice diagram showing how many cycles to wait...
Problem is I don't have the correct documentation for our OMAP 3630 so I am not sure if the memory address of the temp sensor in our kernel is correct. Worth a shot, I guess.
__________________

Last edited by Creamy Goodness; 2012-05-03 at 22:54.