// Release reset RIIC1.RIICnCR1.UINT8[0] &= ~RIICn_RIICnCR1_IICRST; |
You are holding the peripheral in reset while you are doing your init sequence, so I'm not sure if any of those setting will stick. reset the the RIIC, and then start doing your settings.
> The problem is that after setting the ST bit (issuing a start condition), the TDRE bit will not be set (as well as BBSY and START).
I don't see yo setting the MST (master) and TRS (transmit) bits in RIICnCR2. If MST=0 (slave mode), setting the start bit won't do anything because you not a bus master (you're waiting for someone else to master the bus)