Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

SDA and SCL pin location in I2C driver.

$
0
0

I was testing the code posted in this forum post,

https://renesasrulz.com/synergy/f/synergy---forum/10706/how-to-reset-i2c-bus

This code (with a little tweaking) worked to solve a issue we were having, However this works for one channel and requires prior knowledge of the configuration of the SDA and SCL pins.  We would like to do this reset on any I2C channel on any micro. So my question is what is the proper way to extract what pins SDA and SCL are located in code so I can toggle the SDA and SCL pins?  My guess is in the i2c driver code that is generated in synergy. But, I do not see any reference of anything to pin initialization or where the information is stored.   SSP manual and iic module does not specify anything relating to what I want to do either.


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>