Hi,
I am using an ARM RM46L852ZWT on a TI developpment kit.
I am trying to use the EMIF module to communicate with an external 8-bit asynchronous SRAM.
I have set up the EMIF module using HALCoGen 03.06.00.
My settings are :
- enable EMIF Async1 / Disable others
- EMIF clock = 110 MHz
- EMIF Asynch1 : normal mode, extended wait disable, ASIZE = 8 bits, Setup=2, Strobe=3, Hold=2 for read and write, TA=0
I have alos checked in R4-MPU-PMU settings for Region 5 (EMIF Chip Select 2 asynchronous memory region)
- Enable MPU region
- Base address = 0x60000000
- Type = strongly ordered sharable
- Permission = read/write in privilege mode / read/write in user mode
I have started with a simple test programm just to write correct data in the EMIF external memory for chip select 2 starting at address 0x60000000.
The external SRAM is not connected and I am just checking signals on the EMIF port with an oscilloscope.
I have tried writting bytes, short and int and it seems to works pretty well. I have ckecked data bits, CS, WE.
Bit value and signal timing are OK with my settings.
BUT, when I am looking at the address on the EMIF address bus, nothing changes except BA[0] !
It looks like I am alternatily writting at address 0x60000000 and 0x6000001.
Does someone have any idea how to figure it out ?
Here is my HALCoGen and CCSv5 projects : 6445.10-EMIF Project.zip
Here is somme screenshots of my signals (10 tests for writting byte, short or int) : 1321.10-EMIF ScreenShots.zip
Thanks.
Bapt