I've been able to solve the problem. I reduced the External I/O
transaction speed by dividing the CPU clock speed by 8, using the IB7ER
register. Therefore, the hold time for the chip-select strobe (PB7)
signal was increased to be within its required value.
Since the latest Dynamic C software did not recognise the mnemonic
keyword IB7ER, I made a definition for the keyword since I was able to
obtain its I/O address (0x045F) in the Rabbit 6000 User's manual.
Hope this will be useful to anyone who might come into a similar kind of
problem.
Cheers
Reply by Taiwo●August 6, 20132013-08-06
Hello everyone
I wrote a message some days back titled "Aux I/O is not responding."
After verifying the output signals of the RCM6700 pins using an MSO picoscope, I
realised the pins are actually responding but the module is not displaying
anything at all.
I had done a little bit of research in the predefined LCD122KEY7.LIB file to
work out the wait states required among other things. I have configured the PA
pins to serve as the data bus, while PB3 and PB2 are the R/W and RS pins of the
OLED module with PB3 always low since I am only writing to the OLED. I have also
configured PE7 to serve as the I/O chip select strobe (15 wait states,
write-enabled and inverted (active high)), which is connected to the Enable pin
of the OLED.
Below (displayed in red) is a part of my design that shows my initialisation
process. Please can you have a look and tell me what I might be missing out.
Please can you assist in finding where the bug will be located..... I have tried
so many things like making PE7 active-low (default).