I currently have an issue getting the Chip Select 3(CS3) Port C19 working with the flexbus on the K63 micro.
I already use CS0 and CS2 to access a PSRAM and LCD respectively.
I have setup the CS3 the same as the CS2 and I don't see the CS3 line change.
In the Manual it states that CSCR[AA] bit must also be set, which I believe I have.
I have the following configuration.
PORTC->PCR[19] = PORT_PCR_MUX(5); //CS_3
FB->CS[3].CSAR = 0x80000000
FB->CS[3].CSMR = FB_CSMR_V_MASK;
FB->CS[3].CSCR = FB_CSCR_AA_MASK;
FB->CS[3].CSCR |= (FB_CSCR_PS(2)|FB_CSCR_WS(0x0e));
FB->CSPMCR = (FB_CSPMCR_GROUP4(1)|FB_CSPMCR_GROUP5(1));
Has anyone else had issues getting the CS3 on flexbus working.
Am I totally missing something?
Any Help greatly appreciated.
Solved! Go to Solution.
OK, My mistake the CS3 is working... The settings mentioned above are ok.
Please don't ask why I thought it wasn't, it will only make me feel bad. ( has to do with not actually monitoring the CS3 line)...
OK, My mistake the CS3 is working... The settings mentioned above are ok.
Please don't ask why I thought it wasn't, it will only make me feel bad. ( has to do with not actually monitoring the CS3 line)...