- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The I2C normally used to read data from a slave such as sensors. The ARM processor has no reading data to share with another host. Can you explain to me what you are looking for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider then, that the ARM is being used to process some data and is acting as a sensor for another device that is collating it. The Cyclone V Handbook, HPS Technical Reference Manual, section 20 describes the I2C port. It says "Each I2C controller must be programmed to operate in either master or slave mode only". The implication is I can use it as a slave, but I was wondering if the default driver that came with it under Linux supports slave mode, or is there an alternative driver that can be targetted using a different DTS/B?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why you are targeting only I2C? Is there a certain reason, you already have bridges between HPS and FPGA you can use to transfer data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I see you want to use different device to pick the data, sorry for misunderstanding. Yes you can use the ARM as I2C slave to collect data from it. Or you can use it as a master and ask the ARM to send the required data once you trigger this.
Please check the following APP note AN706, which describes the steps required to route an HPS peripheral through the FPGA interface using Platform Designer (Standard) and Intel® Quartus® Prime Standard Edition software. A simple design example is included to demonstrate exporting HPS EMAC0 and I2C0 peripheral signals to the FPGA interface using a Cyclone V SoC Development Kit.
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an706.pdf
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page