- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to monitor voltage levels of power supply rails using LTC2978 sensors available on Cyclone V. Does anyone have tried it or have any software for this purpose? I've found linux kernel drivers on github but I am not sure how to use them. Thank you,Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hi, I want to monitor voltage levels of power supply rails using LTC2978 sensors available on Cyclone V. Does anyone have tried it or have any software for this purpose? I've found linux kernel drivers on github but I am not sure how to use them. Thank you, --- Quote End --- The LTC2978 is a power supply manager that is accessible and controllable via I2C. I've used this device (and others in the family) a lot in the past on various boards. Normally one will use the LTC software application LTpowerPlay to configure and program the device, then your higher level software will access registers in the device to check the ongoing status of your power system, and control features like voltage margining, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nekuss1,
are you looking for an I2C driver to communicate with the LTC2978? Or are you looking for a complete all-in-one package? If you are looking for the driver, Altera's SocEDS hwlib includes an I2C driver. Also, we offer a free one, fully documented and simpler to use. You can request it at www.code-time.com Regards- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- nekuss1, are you looking for an I2C driver to communicate with the LTC2978? Or are you looking for a complete all-in-one package? If you are looking for the driver, Altera's SocEDS hwlib includes an I2C driver. Also, we offer a free one, fully documented and simpler to use. You can request it at www.code-time.com (http://www.code-time.com) Regards --- Quote End --- Hi, Thanks for the reply, the main goal is to obtain measurements during the runtime without using external adapters since I want to directly send these readings to my applications. In SOC EDS files /hwlib/src/hwmgr/ I found alt_i2c.c. Is this the I2C driver you referred to? Also, does the all-in-one package you've mentioned runs on a host PC or it can be used on the platform running linux? I was following instructions on https://www.altera.com/en_us/pdfs/literature/an/an734.pdf (p. 17-19). It suggests to add devices: echo ltc2978 0x5c > /sys/bus/i2c/devices/i2c-0/new_device . Then it says --- Quote Start --- Once the devices are added successfully, files are created in the “sysfs” filesystem for input and output voltages, temperatures and more --- Quote End --- Does it mean it should automatically generate files for voltages or it has to be created manually? Regards
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page