Hi,
The Technical Reference Manual Figure 10-8 in section 10.3.1.1 describes the EMIF interface to an 8-bit RAM. Here A[18:0] and EMIFBADD[1:0] are used to form the SRAM 21-bit address A[20:0].
We wish to interface to a 16-bit SRAM (CY7C1041CV33) which allows 16-bit data access as well as high byte or low byte access from within the 16-bit word. To do this, you access the 16-bit word, and can then either select the 16-bit word (/BHE & /BLE low), the high byte (/BHE low, /BLE high) or low byte (/BHE high, /BLE low). I think we need to connect TMS570 [16:0] to SRAM A[17:1] and EMIFBADD[1] to SRAM A[0]. We then have the problem of byte select, driven by EMIFBADD[0]. Do I need to drive the SRAM byte select /BHE and /BLE from EMIFBADD[0]?
I see in the TMS570 datasheet that there are signals /EMIFDQM[1:0] described as 'EMIF Byte Enable pins'. Are these used to make the selection between low byte/high byte/both bytes? If so, they would correspond to my 16-bit SRAM signals /BHE and /BLE.
/EMIFDQM does appear in the TRM but is not described.
Any help would be much appreciated.
Regards, Tony.