2004-07-02 02:46 PM
2011-05-17 03:02 AM
Hi,All
My program is running OK in upsd3234D(5V supply,Fsoc = 11.0592M), a lcd which controller is kS0108b)is connected with mcu like this: D0~D7 ---->P0, E ----> pd1 r/w---->a8,D/I----> a9, csa--->a10,csb---->a11, and it works OK. But when this program runs in upsd3334D( 5V PSD,3.3V MCU core,Fsoc = 4M) the LCD can't work normally,ks0108 is powered by 5V,but those signals connected with MCU are TTL compitible, so all signals of lcd can be connected with MCU module other than PSD module( in DK3200 or DK3300 EV board ,the lcd signal are connected with PSD module) . Anyboady can give me some advice? Thanks!2011-05-17 03:02 AM
I suspect that you may need to adjust the timing with regards to how fast you write data to the LCD controller. The uPSD33xx family executes code faster than the 32xx family at the same clock speed because of the branch cache and prefetch queue. Because the 33xx runs faster, it can write data more quickly to the LCD controller and it may be too fast.
We found that we had to add some delay to the DK3300 LCD display routine (compare to the DK3200) in the busy check function. Even though the LCD module said it wasn't busy, it wasn't really ready for the next data byte. By adding a delay after the module indicated it wasn't busy, the LCD module works fine. Compare the DK3200 and DK3300 busy check functions and you will see the for next loop in the 33xx code for the added delay.2011-05-17 03:02 AM
In fact, in 3234 board, 11.0592M crystal is used, but in 3334a board , a 4M crystal is used.
Thanks!