2016-02-08 05:40 AM
hello,
I want to interface SSD1289 lcd controller to stm32f103zet6 micro controller. I'm trying to understand the FSMC timing computations but to no avail. I referred to application note and found the following.2016-02-08 11:45 AM
The FSMC chapter in RM is far from clear and error-free, so it might require some experimentation. Also, I don't quite believe in the controller's requirement for 500/500ns RD high/low - you might have troubles to achieve quite that, OTOH the controller might not quite require it. It might quite well be that a total cycle time of 1000ns would be sufficient, and that might be achievable, given DATST is 8 bits long and 1000ns at 72MHz is 72 HCLK cycles. The other half of read cycle might perhaps be achieved as a combination of ADDSET and BUSTURN (and/or ADDHLD in mode D).
Nonetheless, separate read and write timing implies FSMC_BCRx.EXTMOD set. Then you set timing parameters for read in FSMC_BTRx, and for write in FSMC_BWTRx. JW2016-02-08 09:28 PM
Thanks JW! tried some values. Its working now. Although I still don't exactly know how to calculate them. Anyways, so long so good.