I am using code warrior with PE. And FRDM-K20D50M board, I Want to read the "who_am_i register" of the FXOS87000CQ accelerometer-magnetometer the address of the register is 0x0D. I am using SPI_Master_LDD component from PE I couldn't find any syntax for querying the registers. As WHO_AM_I is the easiest thing to read in any such ICs, After that I have to read the accelerometers and magnetometer's x,y,z values. but I am stuck in this. The receive blocks i.e SM1_ReceiveBlock(spipointer, rbuff, sizeof(rbuff)); doesn't have any bit field to read any register. Is there any sample code for handling the sensors using SPI ? Kindly look into the matter.