Hi, I'd like to program the mcf52233 through the QSPI port.
I'm testing the connection with the SPIGEN tool.
I use two monodirectional non inverting buffer for translating 5V -> 3V3 (buf1) and 3V3 -> 5V (buf2) connected like this:
BUF1: in: PC_CS out QSPI_CS
in: PC_CLK out QSPI_CLK
in: PC_DIN out QSPI_DIN
BUF2: in: QSPI_DOUT out PC_DOUT
First of all I assert RCON to GND, then I press the reset button, and finally I release the the button and then the RCON.
I see using an oscilloscope that the CS, CLK, DIN signal works well, instead the DOUT doesn't work, it's grounded forever. I think that the chip is in EZ-Port mode, because the DOUT is grounded and not pulled up to VCC (as is in normal mode).
Someone tells me that I had to change the system clock to a particular value, but I don't understand how this can be useful because the CLK is driven by PC not by the chip.
Another question is related to the CS signal, I had to use che EZPCS or the QSPI_CS0 signal? beacuse I think that QSPI_CS0 is an output and it is used for programming from the chip another eeprom.
I've got no response from the micro if I send either a READ nor a WRITE command.
Any ideas?
Thanks to all