It's not clear to me how to assign pins to an SW_I2C component.
My application requires also to share one of the pins with an existing BitIO component: if I set the BitIO to "Pin Sharing Enabled" it tells me that a peripheral should initialize it: does that apply to a software component as SW_I2C too?
To be clear, I'm using it on a DSC 56F8037, where I'd like to have:
However as I add an SW_I2C component the bean produces always:
** Settings :
** Serial Clock (SCL) pin :
** ----------------------------------------------------
** Number (on package) | Name
** ----------------------------------------------------
** 5 | GPIOA9_FAULT2_TA3_CINB1
** ----------------------------------------------------
**
** Serial Data (SDA) pin :
** ----------------------------------------------------
** Number (on package) | Name
** ----------------------------------------------------
** 4 | GPIOB5_TA1_FAULT3_CLKIN
** ----------------------------------------------------
I answer myself, as I just expanded the SW_I2C bean and discovered the two (hidden) BitsIO to use as SDA/SCL.
Maybe they should be present as a tab in "Component Inspector", along with "Methods" and "Events", as they are already listed together in "Components" window -- my two cents