This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CE Generation for FRAM Access and pdata

Keil compiler has the provision of type specifier 'pdata' which can be used to declare variables in external memory.
For SRAM kind of memory devices we can keep the chip enable signal low and use facility provided by 'pdata'.
But for FRAM kind of chips (eg FM1608), CE signal has to have a logic low transition after address is placed then only a valid read/write operation can be performed.
But the code generated by keil dosn't give any option to modify the pdata to insert this CE logic on a port pin.
Is it possible to do anything in code to generate CE signal while accessing pdata type variables.
Thanks in advance...

Parents
  • Bhaskar,

    I had a look at the datasheet of the FM1608 and it does, indeed, seem that you need to toggle !CE>

    HOWEVER, I have not known Ramtron to be that stupid (making totally incompatible chips), so I would say keep !CE low and just use !RD and !WR.

    It sounds as if you have a circuit, try it.

    Erik

Reply
  • Bhaskar,

    I had a look at the datasheet of the FM1608 and it does, indeed, seem that you need to toggle !CE>

    HOWEVER, I have not known Ramtron to be that stupid (making totally incompatible chips), so I would say keep !CE low and just use !RD and !WR.

    It sounds as if you have a circuit, try it.

    Erik

Children