2007-08-13 04:39 AM
2011-05-17 02:31 AM
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 ?