- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Intel Community Members,
In the Stratix 10 DX, I wish to have the following clarification
1. How to read temperature values from max6581?
2. Address for reading the registers of max6581 from nios II through I2C IPcore? (Is it 0x4D or 0X9A?)
3. How to convert the temperature hex value to real temperature value in Celsius or Fahrenheit?
4. are the register address given in the max6581 datasheet should be considered as offset?
5. Is there any reference design to read temperature values from intel of similar kind ?
Kindly support me.
Your comments are more valuable to me and highly appreciated.
Thank you
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please share your suggestions and ideas to get the above things done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you are referring to a specific dev board? Does it come with example code for MAX6581 access?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @FvM,
Thanks for your interest in helping me.
Yes, I am referring to the board Stratix 10 Dx FPGA Development Board (https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=248&No=1258).
No, the development board didn't come with any specific reference design to access MAX6581.
For you kind reference here with I have given the link for the FPGA Development Board manual,
https://www.intel.com/content/www/us/en/docs/programmable/683561/current/supported-features.html
Board Schematic
MAX6581 Datasheet
https://www.analog.com/media/en/technical-documentation/data-sheets/MAX6581.pdf
Based on the information available over the manuals and documents, I attempted to create a system to access the temperature through Stratix 10 Dx FPGA with NIOS II and I2C(https://www.intel.com/content/www/us/en/docs/programmable/683130/22-1/fpga-i2c-host-core.html) and tried to read the temperature value through I2C functions in C, In that only I have the following queries.
1. How to read the temperature values from max6581?
2. Address for reading the registers of max6581 from nios II through I2C IPcore? (Is it 0x4D or 0X9A?)
3. How to convert the temperature hex value to real temperature value in Celsius or Fahrenheit?
4. are the registers addresses given in the max6581 datasheet should be considered as offset?
5. Is there any reference design to read temperature values from intel of similar kind ?
Kindy help me to get the temperature read through the FPGA.
I appreciate your efforts.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
o.k., no example shipped with the dev board, unfortunately.
Personally, I'm accessing temperature monitors and fan controllers in HDL rather than NIOS, but embedded I2C host IP should work as well.
Regarding address notation, originally I2C device addresses use 7-bit notation (0x4D, left aligned in first I2C byte. Maxim seems to prefer 8-bit notation (0x9A, right aligned). In host IP, you write 0x4D to TFR_CMD.AD (bit 7:1).
As with many I2C devices, register address is written as single byte to MAX6581, then the register content is read. Typical I2C sequence is shown in datasheet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your valuable suggestions.
Yes I did it in both ways, that is with 9A and 4D but no response from the device.
Could you please share me the info how you converted the register value you read through RTL from the devices to Celsius or Fahrenheit?
I appreciate if there is any further references related to reading the data through NIOS II and I2C Host IPCore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Fakhrul ,
Please, share my request with the right Intel people who is involved in the Intel Stratix 10 DX development board.
I am struggling to access the features which is claimed in the intel user guide with the limited description in that.
Kindly help me out to get it resolved.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am sorry for late reply. I was out sick for the last few weeks.
You can refer to this video to access the temp sense diode and how to read the hex value to temperature.
link : https://www.youtube.com/watch?v=E5TaTxuOmOY
regards,
Farabi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Farabi ,
Alright, Thanks for the response.
I have gone through the video it is about temperature sensor and value conversion. Really a good material which gave me an idea for my query number 3.
But, I wish to do it through Intel I2C host IPcore. In the shared video it was directly read by the temp sense IP.
FYKI, I wish to have access to max6581 which is there in the Stratix 10 DX evaluation board using I2C host ip core in qsys through writing application program which uses the API calls of the I2C host IP.
Please refer my previous posts (specifically, Dated :10-03-2023 02:09 PM) for the detailed description and required documents.
Kindly share me some reference designs also along with the fix.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Do you have further question?
regards,
Farabi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, still it is open.
Didn't get any specific fix with I2C host IP core.
Please do support me.
Thank you
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page