AnsweredAssumed Answered

How to triggerr a interrupt when the prim_mode is 0x06

Question asked by tracyone on Jul 1, 2014
Latest reply on Jul 2, 2014 by tracyone

adv7441a or adv7842.

 

---------------------------------

 

initial config is hdmi mode,which PRIM_MODE is 0x06(HDMI  GR mode).

 

it can trigger interrupts when my board connect to hdmi output or disconnect from the hdmi output.

 

but connect to the vga output or disconnect from the vga output can not trigger a interrupt when the PRIM_MODE is 0x06

 

----------------------------------

 

initial config is vga mode,which PRIM_MODE is 0x02 (GR mode)

 

it can trigger interrupts when my board connect to vga output or disconnect from vga output.

 

but connect to the hdmi output or disconnect from the hdmi output can not trigger a interrupt when the PRIM_MODE is 0x02

 

----------------------------------

 

my interrupt setting is :

I2C_WriteByte(0x4e,0x04,USER_MAP); //disable int2

I2C_WriteByte(0xD1,0x40,USER_MAP_1); //active low.keep active until manual clear

I2C_WriteByte(0x9C,0x44,USER_MAP_1);  /enable CP_LOCK_Q,CP_UNLOCK_Q,STDI_DVALID_Q,SSPD_RESULT_Q

I2C_WriteByte(0x9C,0x42,USER_MAP_1);  //clear status bit

 

I want to automatically switch from hdmi mode to vga mode ,or from vga mode to hdmi mode by interrupt?

 

any suggestion??

Outcomes