- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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ò
Solved! Go to Solution.
- Tags:
- temperature sensor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Niccolo,
Can you please explain about your application?