English
Language : 

M-G362 Datasheet, PDF (59/69 Pages) Epson Company – IMU (Inertial Measurement Unit)
8.1.5 Software Reset (SPI)
Software reset is as follows.
Power-on sequence. Please refer to Chapter 8.1.1.
(a) Send software reset command.
TXdata={0xFE01}/ RXdata={0x----}.
/* WINDOW=1 */
TXdata={0x8A80}/ RXdata={0x----}.
/* Software reset command */
(b) Wait 800ms.
-:don't care
8.1.6 Flash Test (SPI)
Flash test is as follows.
Power-on sequence. Please refer to Chapter 8.1.1.
(a) Send flash test command.
TXdata={0xFE01}/ RXdata={0x----}.
/* WINDOW=1 */
TXdata={0x8308}/ RXdata={0x----}.
/* Flash test command */
(b) Wait until flash test has finished.
Wait until FLASH_TEST bit goes to 0. FLASH_TEST is MSC_CTRL[0x02(W1)]'s bit[11].
TXdata={0x0200}/ RXdata={0x----}.
/* MSC_CTRL read command */
TXdata={0x0000}/ RXdata={MSC_CTRL}. /* get response */
Confirm FLASH_TEST bit.
When FLASH_TEST becomes 0, it ends. Otherwise , please repeat (b).
(c) Confirm the result.
Confirm FLASH_ERR bits. FLASH_ERR is DIAG_STAT[0x04(W0)]'s bit[2].
TXdata={0xFE00}/ RXdata={0x----}.
/* WINDOW=0 */
TXdata={0x0400}/ RXdata={0x----}.
/* DIAG_STAT read command */
TXdata={0x0000}/ RXdata={DIAG_STAT}. /* get response */
Confirm FLASH_ERR is 0.
If FLASH_ERR is 0, the result is OK. Otherwise, the result is NG.
-:don't care
8.1.7 Flash Backup (SPI)
Flash backup is as follows.
Power-on sequence. Please refer to Chapter 8.1.1.
(a) Send flash backup command.
TXdata={0xFE01}/ RXdata={0x----}.
/* WINDOW=1 */
TXdata={0x8A08}/ RXdata={0x----}.
/* Flash backup command */
(b) Wait until flash backup has finished.
Wait until FLASH_BACKUP bit goes to 0. FLASH_BACKUP is GLOB_CMD[0x0A(W1)]'s bit[3].
TXdata={0x0A00}/ RXdata={0x----}.
/* GLOB_CMD read command */
TXdata={0x0000}/ RXdata={GLOB_CMD}. /* get response */
Confirm FLASH_BACKUP bit.
When FLASH_BACKUP becomes 0, it ends. Otherwise , please repeat (b).
(c) Confirm the result.
M-G362PDC1 Data Sheet
Seiko Epson Corporation
55
Rev.20131217