Using External Address and DataBus on ConnectCore9P_9215

Hi,

I have a design that includes an asynchronous static RAM with battery backup attached to the extrnal address and data bus of the module. I have the options of using CS0 or CS2 for the chip select.

I am trying to get this operational, and assume that I need to modify “customizeSetupCSx” routines in cs.c. At the moment I am a bit lost in trying to sort out how to do this.

Can anyoone give me any info on what values I need to set up or how to go about sorting out the software.

I chose to use CS2, with the following settings in bsp.c:

{1, 0x181, 0x02, 0x02, 0x10, 0x10, 0x10, 0x0f, 0x03100000, 0xffff8001}, /* cs2 - needs to be > 800ns or so cycle */

As you can see, I’m in no hurry!

This put the memory block at 0x03100000

Not 100% sure what the block size is - 32K, or maybe 64K, I think.

Incidentally, I usually use FRAM nowadays - no batteries, and as fast as RAM. And the I2C chip which includes a TOD clock takes far less standby current than the CC9P internal clock

HI,

Many thanks for the info.

I now have access to a 64K block using,

{1, 0x181, 0x02, 0x02, 0x10, 0x10, 0x10, 0x0f, 0x03100000, 0xffff0001}, /* cs2 */

so it is all looking good