Hey Sol,
I used the EMC config and I can somewhat read/write from SDRAM.
I have made a test routine that writes from address 0x28000000. Data being written is 0x28000000+i.
When running this routine it stops at different itterations. Is this due to bad timing?
When setting the timing parameters I can't find following in my datasheet for the 64MB SDRAM (AS4C2M32SA-6TIN):
1)
| uint32_t ReadConfig; | | | | | | | /*!< Clock*/ |
2)
| int32_t tSREX; | | | | | | | | | /*!< Self Refresh Exit Time */ |
3)
| int32_t tAPR; | | | | | | | | | /*!< Last Data Out to Active Time */ |
If it is not timing based problems, what else could it be?
Kind regardsSigurd