Skip to main content
pankajauengg
Associate II
November 24, 2020
Question

I2C ISSUE in BLUENRG232. No data is written to TFR Tx FIFO resistor TDATA.

  • November 24, 2020
  • 0 replies
  • 494 views

Now the issue concluded to the source of issue. 

The value of Dtata is 0x38 but its not getting transfered to TFR. Though for other resistors its working fine. The value of TFR always stays 0x00000000.  Since the data is not loaded to Tx FIFO, the communcation not starts.

void I2C_FillTxFIFO(I2C_Type* I2Cx, uint8_t Data)

{

 /* Check the parameters */

 assert_param(IS_I2C_ALL_PERIPH(I2Cx));

 /* Write in the DR register the data to be sent */

 I2Cx->TFR = (uint32_t)Data;

}

This topic has been closed for replies.