cancel
Showing results for 
Search instead for 
Did you mean: 

EMI problem in STR912

davidd1
Associate
Posted on August 13, 2007 at 13:39

EMI problem in STR912

1 REPLY 1
davidd1
Associate
Posted on May 17, 2011 at 11:31

Hi,

I have a serious problem.

I connected to EMI bus of STR912FAW44 slow device whice required at least 22 wait states at 96MHz on CS2.

When I read/Write to the device the system crushed. The only way to work is to add only 1 wait state.

It seems that it affects on internal bus of the STR912.

Below my code:

EMI_InitStruct.EMI_Bank_IDCY=0x02;

EMI_InitStruct.EMI_Bank_WSTRD=22 ;

EMI_InitStruct.EMI_Bank_WSTWR=22 ;

EMI_InitStruct.EMI_Bank_WSTROEN= 0;

EMI_InitStruct.EMI_Bank_WSTWEN= 0;

EMI_InitStruct.EMI_Bank_MemWidth= EMI_Width_Byte;

EMI_InitStruct.EMI_Bank_WriteProtection= EMI_Bank_NonWriteProtect;

EMI_InitStruct.EMI_PageModeRead_TransferLength= EMI_4Data;

EMI_InitStruct.EMI_PageModeRead_Selection= EMI_NormalMode;

EMI_Init( EMI_Bank2, &EMI_InitStruct);/*use Bank2 (CS2)*/

Anybody have an idea ?