AnsweredAssumed Answered

SWSEN

Question asked by Francisco Loriente on Jun 23, 2016
Latest reply on Jun 24, 2016 by TomE

In a CF51MM256CLL, do not put /CS1 to work. Have no problem with /CS0, but /CS1, when enabled, is at 0 (active) except for 42ns (BUS CLK is 24 MHz, for USB usage...).

In Reference Manual MCF51MM256RM page 4-18, in MBCSCR1 register, are 4 undocumented bits: SWSEN (b31), BEM (b5), BSTR (b4), and BSTW (b3). Could be one of this the problem?

I use only 16 locations in each CHIP SELECT, with non-multilexed 8 bit bus. Code for MINI FLEX BUS initialization follows:

MFBPC1=0x03;

MFBPC2=0x00;

MFBPC3=0xF0;

MFBPC4=0xDF;

MBCSCR0=0x003FFD40;

MBCSAR0=0x00400000;

MBCSMR0=0x00000001;

MBCSCR1=0x003FFD40;

MBCSAR1=0x00500000;

MBCSMR1=0x00000001;

Can anyone help me?

Outcomes