- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using I2C Master Fixed Funtion in my component library. I am unable to find a parameter type through which I can configure I2C data rate from my component. Is there any way to bring out the I2C data rate on to my component parameter ?
Regards,
Harsha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For fix function I2C master, the data rate is selected on the basic configuration page, there are only 4 speeds. With UDB I2C you can provide your own clock.
Do you mean that there is no API to set the data rate by S/W?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's right, there are no APIs to change the bitrate on-the-fly for I2C may it be fixed function or UDB.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like fixed function tied to BUS_CLK, and would be wacky to change
it to effect I2C rates.
UDB, you can use the API calls for the clk src to effect your own rates.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, kind of API. I am making a custom library component using I2C. When I import my custom component, I should be able to configure the data rate from my component level instead of opening the custom component library and configuring the basic I2C block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any results or example of anyone successfully implementing above suggestion " UDB, you can use the API calls for the clk src to effect your own rates."