Hi Danie,
i use now external Pullups... it works with the Demo to the Board. Its the same as befor.
When i switch the Hardware to use the Methods, it works agein with the sampelcode
but when i use the method
/* Set slave address */
(void)CI2C1_SelectSlave(SLAVE);
/* Clear "Complete" flag */
flags = 0;
/* Send bytes in master mode */
err=CI2C1_SendBlock(&Data,2,&ret);
if(err!=ERR_OK) {
/* Handle an error */
}
/* Wait for communication complete */
while(!flags) ;
it stops at while (!flags)
the Adrres is OK and i get a ACK see picture but its only the Adress no data
i dont understand it
Thanks for help
Thorsten