English
Language : 

MT9M114_16 Datasheet, PDF (13/62 Pages) ON Semiconductor – High-Definition (HD) System-On- A-Chip (SOC) Digital Image Sensor
MT9M114: 1/6-Inch 720p High-Definition (HD) System-On-A-Chip (SOC) Dig-
ital Image Sensor
Exiting Standby Mode
// Wait for the FW to complete the command (clear the HOST_COMMAND_1
bit)
POLL_FIELD= COMMAND_REGISTER, HOST_COMMAND_1, !=0, DELAY=10, TIME-
OUT=100
// Check the 'OK' bit to see if the command was successful
ERROR_IF= COMMAND_REGISTER, HOST_COMMAND_OK, !=1, "Set State cmd
failed",
// Wait for the FW to fully-enter standby (SYSMGR_CURRENT_STATE=0x52)
POLL_FIELD= SYSMGR_CURRENT_STATE,!=0x52,DELAY=50,TIMEOUT=10
2. After the part is in standby for 100 EXTCLK cycles the EXTCLK can be turned off.
1. Turn EXTCLK on.
2. After 100 EXTCLK cycles send the following sequence entitled [Exit Standby] to bring
the MT9M114 out of standby.
[Exit Standby]
FIELD_WR= SYSMGR_NEXT_STATE, 0x54
// (Optional) First check that the FW is ready to accept a new command
ERROR_IF= COMMAND_REGISTER, HOST_COMMAND_1, !=0, "Set State cmd bit
is already set"
// (Mandatory) Issue the Set State command
// We set the 'OK' bit so we can detect if the command fails
// Note 0x8002 is equivalent to (HOST_COMMAND_OK | HOST_COMMAND_1)
FIELD_WR= COMMAND_REGISTER, 0x8002
// Wait for the FW to complete the command (clear the HOST_COMMAND_1
bit)
POLL_FIELD= COMMAND_REGISTER, HOST_COMMAND_1, !=0, DELAY=10, TIME-
OUT=100
// Check the 'OK' bit to see if the command was successful
ERROR_IF= COMMAND_REGISTER, HOST_COMMAND_OK, !=1, "Set State cmd
failed",
ERROR_IF= SYSMGR_CURRENT_STATE, !=0x31, "System state is not STREAM-
ING"
MT9M114/D Rev. 11, 2/16 EN
13
©Semiconductor Components Industries, LLC,2016.