Home/Support/Support Forum/Using External Address and DataBus on ConnectCore9P_9215
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Using External Address and DataBus on ConnectCore9P_9215

0 votes
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.
asked Oct 19, 2010 in NET+OS by rdeabill Community Contributor (142 points)
recategorized Nov 26, 2013 by tuxembb

Please log in or register to answer this question.

2 Answers

0 votes
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
answered Oct 19, 2010 by steved2 Seasoned Professional (151 points)
0 votes
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
answered Oct 20, 2010 by rdeabill Community Contributor (142 points)
...