Hi Nitin,
Could you perhaps produce a simpler but complete version of your program that shows just the behaviour you are having problems with. I'm sure you'll get someone helping you track this down if you make it a little more edible!
The general problem with long but incomplete snippits is that it is quite a lot of effort for people to reproduce the problem, and that'll limit the amount of effort left over for finding a solution. Make it easy to reproduce the problem by providing a concise and complete program, and all the effort can then be on finding a solution!
I'm sure we can get this working for you...
Simon
Hi everyone, I am trying to use a simple BusInOut application with Bus width of 8-bits. When used BusInOut mode, I am able to write and read the data accurately. But for faster speed I used PortInOut, I am able to write the data properly but while reading I get unexpected result. My code is below.
Actually I tried debugging, I encountered problem when I am trying to read "LCD_PORT2"(I get wrong data when read).
Please help me
Thanks and Regards Nitin