I am using the EMIF on TMS570 to access FPGA and SRAM asynchronously in normal, 16 bit mode. It seems like I am able to properly access the SRA, but I have issues with the FPGA and I was examining the write sequence finding a strange bus behavior that I would want to understand. When I write a 32 bit value I see a sequence of three write cycles. Two of the cycles have BHE and BLE low and one has those lines at high. My first question is why there are three write cycles? For two 16 bit words I would expect two writes on the bus. Another thing that I observed is that the upper word is written to a lower address and the lower word to the higher address. For a Big Endian processor I would expect this to be the other way. I don't see endian confusion when writing/reading to/from SRAM programmatically, but I see this anomaly on the bus (EMIF) signals. Can anyone explain?
Thanks,
Alex
.