Hi
i am using twi_hw_master.c for i2c communication of accelerometer.
my accelerometer address is 0x18.
once i call
twi_master_transfer(0x18,dataW,1,1);
in function ERRSRC is setting to 0x02,
means there is no ack from slave.
but first time i got chip id .
is it needed to give delay after data transmittion like
NRF_TWI1->TXD = *data++; TWI_DELAY(); NRF_TWI1->TASKS_STARTTX =1 ;
or not needed . and i check with all 3 twi frequency,but not worked.
kindly suggest me.
Regards Balaji