BMC150 initialization does not work
I solved the problem by activating and deactivating slave (using chip or slave select pin) before and after writing process as follows:

while(1){
//Activate Slave
SPI_GPIO-&gt;BRR = SPI_PIN_SS;
// Go to active power mode
SPI_I2S_SendData(SPIx, 0x4B01);
while (!(SPIx-&gt;SR &amp; (SPI_I2S_FLAG_TXE)));
SPI_GPIO-&gt;BSRR = SPI_PIN_SS;
// delay for applying setting stably
delay_ms(1);
SPI_GPIO-&gt;BRR = SPI_PIN_SS;
// Go to normal mode
SPI_I2S_SendData(SPIx, 0x4C00);
while (!(SPIx-&gt;SR &amp; (SPI_I2S_FLAG_TXE)));
SPI_GPIO-&gt;BSRR = SPI_PIN_SS;
delay_ms(1);