FX3 Temperature sensor

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_1245661
Level 2
Level 2
Welcome!

Dear Sir,

while I was looking at 1.3.4 library source files, I found references to a temperature sensor in the gctl_regs.h header.

It seems that at address #define CY_U3P_GCTL_TEMP_SENSOR_CONTROL (*(uvint32_t *)(0xe005302c)) it's possible to read an unprocessed 16 bit value, but you need to convert it to get the correct temperature value.

Is there any documentation about how to use this feature?

Thanks in advance for your support.

Regards,

Niccolò

0 Likes
1 Solution
Keerthy_V
Moderator
Moderator
Moderator
First like given 250 sign-ins 50 solutions authored

Hi Niccolo,

The sensor is used for PVT compensation.

It is not recommended to use these registers in your application.

If you need temperature sensing, please use an external temperature sensor on your board.

View solution in original post

0 Likes
3 Replies
Keerthy_V
Moderator
Moderator
Moderator
First like given 250 sign-ins 50 solutions authored

Hi Niccolo,

The sensor is used for PVT compensation.

It is not recommended to use these registers in your application.

If you need temperature sensing, please use an external temperature sensor on your board.

0 Likes

Hi Keaj,

unfortunately I have already designed a board without an external temperature sensor. Can I use it just once to check if the temperatures are acceptable?

It would be enough for me to read the ADC value and convert it to temperature.

Thanks for your kind reply.

0 Likes

Niccolo,

Can you please explain about your application?

0 Likes