The AM5K2E04 data manual references a Temperature Alert Configuration Register as well as an interrupt. Where are these registers described? Is there also an option to simply read the temperature somewhere?
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.
The AM5K2E04 data manual references a Temperature Alert Configuration Register as well as an interrupt. Where are these registers described? Is there also an option to simply read the temperature somewhere?
Hi Brad,
I'm pushing this issue with the bootrom team. This may be an error in the data manual but give me a day to get the correct information.
Bill
Hi Brad,
The K2E does have a temperature sensor in the SmartReflex subsystem but it's not enabled in the TMX parts. It will be trimmed and enabled in the TMS parts. The temperature sensor is currently not documented. I'll put something on E2E as soon as I have the details.
Regards,
Bill
All-
We're using Keystone I (C6678) not Keystone II, but I'm adding to this thread because it's the only e2e post I can find that makes specific mention of the "Temperature Alert Configuration Register".
In the c6678 datasheet this register is shown in the DDR3 Configuration Table. Is it possible to use this register ? We suspect that two of our DDR3 devices are overheating because they are on the bottom side of our board, which is adjacent to another board in the chassis with a tall heat sink hot spot that happens to be immediately next to these devices.
Thanks.
-Jeff
Signalogic
Bill-
Ok thanks for this info. Can you think of anything at all -- DDR3 command we might issue, infrequent re-calibration procedure, etc -- that we might do to get an indication that DDR3 mem is running too hot ? Basically something that has changed over 10+ hours of run time.
Thanks.
-Jeff
Signalogic
Jeff,
I can't think of any commands that would tell you whether the DDR is running hot. You could put a thermocouple on the part and capture the temperature across time.
Most DDR memory do require a higher refresh rate at higher temperatures. Since changing the refresh rate requires reconfiguration of the DDR, most of our customers who know they will be working in a higher temperature will use the higher refresh rate during their initial configuration. How are you handling that?
Regards,
Bill
Bill-
Thanks for your fast reply. Ok on the DDR3 commands.
Yes we are going to try the 2x refresh rate, and we're working closely with Advantech on this (it's an 8901 board). Is there any performance drawback to this ?
-Jeff
Signalogic
Hello Bill,
I will access the temperature sensor on K2E too.
I have read the Document http://www.ti.com/lit/an/sprabx9c/sprabx9c.pdf
Hi Sebastian,
Just to clarify, you can access the registers using the memory tools or a JTAG connection but you are having trouble accessing the registers using linux, is that correct?
Regards,
Bill
Sebastian,
Please check MPU11 settings and check to see if access to that region has been enabled in the MPUs. If you have emulator, you can also use the GEL attached to see if you can read the registers through DSP or the DSP when Linux is booted up.
Regards,
Rahul
Sebastian,
The possible explanation for not being able to access from Linux is because the same region was mapped already by kernel, and MMU requires the access to have the same mapping flag. Kernel may have it set as device, but devmem2 would be different.
I noticed that not only the SmartReflex0 is not accessible, but also the PSC at 0x02350000. The SmartReflex PID register read shows 0x00000000. That is different from what I get in u-boot. So I don't think Linux can access this area.
Rex
Hi Rex,
I have access to the SmartReflex PID Register:
devmem2 0x2350000
Read at address 0x02350000 (0xb6f2e000): 0x44827200
u-boot output:
md 0x2350000 1
02350000: 44827200 .r.D