I've already connected the STR912 to the graphic chip SSD1906, but I can only read even register/address locations. For odd locations I only read 0xFF. I don't have very clear how to use the WE1, A0 lines.
I have not found much literature for the SSD1906 except for the datasheet. I'll appreciate very much your help.
Regards,
Hideo. snipped-for-privacy@gmail.com (remove no spam)
I am using the 16bit multiplexed bus, so remember on the str9 the address are shifted. Because of this we need to connect SSD A0 to GND. The STR9 A0 to the SSD A1 and so on.
I see that you used a Generic #1 Bus. I had to use #2 because the board with the SSD1906 was set that way.
I also tried to use the WAIT signal to stop momentarily the STR912 connecting it to an external interrupt (P5.6, line 14), but I have not been lucky with that. The interrupt routine never gets called, so I lowered the bus speed to 40 MHz. With that and the aid of Wait States, I let the WAIT signal to come up nicely.
For the write signal I used EMI_WRL. The other line, EMI_WRH , does the same job in a multiplexed 16-bit bus. The pin WE1 was tied to ground, since it's only used for 8-bit buses.
In my test I got 18mSec refresh rate for a full screen, using 4bpp. That give me about 55Hz, which is perfect.
I visited Ramtex web page, but they don't have a demo library. That's a shame. I'm starting to write my own library, but graphic functions are very heavy to deal with.
This is not how to use a WAIT signal. It should be connected to the WAIT (or busy, ready etc.) pin of the bus interface. The businterface will then automatically insert waitstates until WAIT goes inactive.
Setting a fixed number of waitstates is a good alternative to using WAIT, but you must make sure all minimum bus times are met. This means that using the WAIT signal can make the access a little faster as the number of waitstates is adjusted to the requirement for that particular access.
--
Stef (remove caps, dashes and .invalid from e-mail address to reply by mail)
The WAIT signal for the EMI in the STR912 is only available in LFBGA packages, that's why I tried to to use an external interrupt instead, but I think that am missing son info about EMI and EXINT because the interrupt request works fine only when the EMI is not beign used...
I' don't know this particular processor, but I suspect EMI means External Memory Interface in this context. The WAIT signal effects the EMI timing, the EXTINT effect the program flow, the two have nothing to do with each other.
If you have no WAIT signal availale on your EMI, just set the number of waitstates high enough. Read the timing diagrams to get the correct values.
I think you need to study your documentation more carefully and also read op on general processor architecture. You need to understand the concepts of bus interface (and the wait signal) and interrupt and must be able to differentiate between.
[quote below left because it has some relevant info]
mail)
>
--
Stef (remove caps, dashes and .invalid from e-mail address to reply by mail)
Please don't top-post. Your answer belongs after, or intermixed with, the material you quote, after snipping out anything immaterial. See the following links:
Hi, Any chance of the connections between the SSD1906 and the TX09 display? I'm about to start a design using the STR710 micro, SSD1906 and a Hitachi TX09 (or a TX14) TFT display. Any help would be appreciated! e.g. where do I connect the DTMG signal on the display? Does it just go to LDEN on the SSD1906?
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.