Altera_Forum
Honored Contributor
19 years agohow to slow down communication for LCD
Dear all,
i've hacked the driver of 16x2 to get 20x4 LCD display. It works, but the problem is, that I need to connect the display via quite long flat cable, which is of course not terminated, so it creates big reflections and the display with the cable attached doesn't work at all. So I was just wondering whether there is a possibility how to slow down the IOWR instructions in order to make the communication slower. As far as I understood the IORD and IOWR is a macro mapped to ldwio/stwio instructions, but I didn't find any practical 'howto' to slow it down. I've tested to change the parameters of the sopc component stored in class.ptf of the component to something like: Read_Wait_States = "1250ns"; Write_Wait_States = "1250ns"; Setup_Time = "1250ns"; Hold_Time = "1250ns"; Then i've regenerated vhdl code in sopc builder, reflashed fpga, recompiled nios C software, loaded,.... it didn't change anything. Any comments on the subject are appreciated david