Hi,
Got a problem. Wondering if there's a work around. We use EM_A[12] for address decoding on the NAND flash, as per the method used on the TI DM355 Eval board. However, we also wish to use GIO57,58,59, and 60.
Looking at http://focus.ti.com/lit/ug/sprufb3/sprufb3.pdf page 123, looks like that particular combination is mutually exclusive as per the setting of PINMUX2 bit 0. Is this correct, is there any work around to keep EM_A[12] as is, (we don't need the other address lines other than A1, A2 for ALE, CLE), and using the GIOs as outputs?
Also had very little success accessing GIO54 as an output instead of EM_BA0 , by setting PINMUX2[3:2] to '10'. Looked through the errata but this doesn't get a mention. Am I doing something fundamentally wrong trying to access these GIOs?
I'm accessing the Pinmux2 settings from the board-dm355-evm.c file in the arm/mach-davinci directory, as part of the board initialization, which I believe is the correct place to do it, and setting the direction register and output from the gpio_direction_output(GIO_NUM,value) call, after I have set the Pinmux2 to the required state.
Any suggestions. A quick JTAG on these GIO pins proves the hardware on the target is not preventing these pins from changing state.
regards,
Richard