Incorrect value displayed on system viewer window


I'm using a STM32F4 Discovery board which has a STM32F407VG with a LIS3DSH accelerometer which is connected by SPI. I'm trying to read a register from the accelerometer and I tried writing the address of the register to SPI->DR. But SPI->DR shows an incorrect value in the System Viewer window and in the Memory window. I have attached a picture with the corresponding portions highlighted in yellow.

Is this an issue with Keil or a Microcontroller side issue?


Parents Reply Children
No data
More questions in this forum