Hi All,
I am attempting to read memory via EBU interface.
In my hardware ALE is connected to pin AD11 and CLE is connected to pin AD12.
Based on addressing alignment mentioned in reference manual 14.6.7 I i understand that internal pin mapping is ABH [16:1], and external pin mapping is AD[15:0]
With this understanding, since my CLE is connected to pin AD12 , internally its connected to ABH13 hence I am wrtiting command at address 0x60002000.
Similarly ALE is connected to pin AD11, internally its connected to ABH12 hence i am writing command at address 0x60001000.
*(volatile uint16_t*)(0x60001000) = 0x0020;// ALE
*(volatile uint16_t*)(0x60002000) = 0x0090;// CLE
However, when i dont see expected result. Like when i am writing address 0x0020 i see dont see ALE going high at all.
Can someone please let me know if my understanding on addressing is correct ?
P.S- Also, i have tried using addressing based on external pin mapping AD[15-0], i still dont see any difference.
Regards,
Query1920
I am attempting to read memory via EBU interface.
In my hardware ALE is connected to pin AD11 and CLE is connected to pin AD12.
Based on addressing alignment mentioned in reference manual 14.6.7 I i understand that internal pin mapping is ABH [16:1], and external pin mapping is AD[15:0]
With this understanding, since my CLE is connected to pin AD12 , internally its connected to ABH13 hence I am wrtiting command at address 0x60002000.
Similarly ALE is connected to pin AD11, internally its connected to ABH12 hence i am writing command at address 0x60001000.
*(volatile uint16_t*)(0x60001000) = 0x0020;// ALE
*(volatile uint16_t*)(0x60002000) = 0x0090;// CLE
However, when i dont see expected result. Like when i am writing address 0x0020 i see dont see ALE going high at all.
Can someone please let me know if my understanding on addressing is correct ?
P.S- Also, i have tried using addressing based on external pin mapping AD[15-0], i still dont see any difference.
Regards,
Query1920