Hi, Thank you for your reply. I have many doubts. In my BMA400 sensor board I have pins called SDI and SDO , there is no specific SDA pin. Now, In my PIC18f97j60 controller I have SDA pin,to which pin I should connect . whether I should connect to SDI or SDO? In I2C mode, should I want to hardwired the CS pin? Can you give me pin description. In code, Can you explain step by step process. Mainly I need sensor initilization, What are the registers to initiliaze? It has lot of registers. I have already worked in sensor WSEN-ITDS 3 axis accelerometer sensor. void ACC_Sensor_Init(void) { WriteI2C_sensor(ITDS_CTRL_1_REG,0x00); WriteI2C_sensor(ITDS_CTRL_1_REG,0x66); WriteI2C_sensor(ITDS_CTRL_2_REG,0x0C); WriteI2C_sensor(ITDS_CTRL_6_REG,0x30); } It has initialized like this and I am getting the datas properly. Like this can you give me what to initialize for BMA400 Sensor? Can you give me calculation to measure X,Y,Z axis? Please provide me the example code for PIC microcontroller,
... View more