cancel
Showing results for 
Search instead for 
Did you mean: 

ST10 EBC and external RAM

jwb3
Associate
Posted on November 01, 2004 at 03:59

ST10 EBC and external RAM

2 REPLIES 2
jwb3
Associate
Posted on October 29, 2004 at 13:11

I am trying to interface an external SRAM to the ST10. I am setting it up so I use the first 16K of fllash from 0x0 - 0x3FFF then from 0x4000 - 0xBFFF I want to create a ''hole'' for the RAM. So I set up the EBC for a non multiplexed bus on BUSCON1 but I am not sure how to program the ADDRSEL1 register. I know my RGSZ is going to be 32K or 0011 but what do I program into the RGSAD field???

I think it should be 0x0043 but am not sure.

Joe
najoua
Associate II
Posted on November 01, 2004 at 03:59

Hello,

Normally, RGSAD field is the Range Start Address which defines the upper bits of the start address of the respective address area. In your case, the start address is 0x0000 and not 0x4000 so you should put in the ADDRSEL1 register 0x0003H and not 0x0043H