SPI memory map page selection – spi_mem_page
In SPI mode complete memory page is accessed using page 0 & page 1. Register spi_mem_page is used for page selection.
After power-on, spi_mem_page is in its reset state and page 0(0x00 to 0x7F) will be active. Page1 (0x7F to 0xFF) will be
active on setting spi_mem_page. Please refer Table 21 for better understanding.
In SPI mode complete memory map is accessed using page 0 and page 1. Register spi_mem_page is used for page selection.
After power-on, spi_mem_page is in its reset state and page 0 (0x80 to 0xFF) will be active. Page 1 (0x00 to 0x7F) will be
active on setting spi_mem_page to 1.
Are the descriptions of page in these two paragraphs in the data sheet contradictory? The page change I understand is to write the address name: Status is (0X73), the command is 0X10 (the fourth bit is guaranteed to be 1). Then how to read the status of the page? Through write operation: write data at address (0X73), read out its Reset state as 0X00 is page 0, 0X01 is page 1 (this is how I understand it). Is such a logic correct? The problem is that I change the page through the above logic, and the address is still 00. I don’t know whether the page address has not been changed or the page status cannot be read.
After power-on, default register value of status(0x73) is 0x01, spi_mem_page bit is 0, page 0(0x00 to 0x7F) will be active. If you write bit spi_mem_page to 1, page 1(0x7F to 0xFF) will be active.
The BME688 sensor API(https://github.com/boschsensortec/BME68x-Sensor-API) has implemented how to access page 0, 1, and you can refer to it.
Thank you for your reply. Your answer is the same as what I thought, but when reading the set register value, the value of the register cannot be read or the value of the register has been read multiple times. Even the read value and The set values are different, what is the reason? Is there a time interval limit for BME688 writing and reading registers?