raj.elec
Newbie level 4
- Joined
- Mar 23, 2010
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Kharagpur (W.B.)
- Activity points
- 1,333
Hi !
I am facing a problem interfacing "LCD 162A" with ATmega32L with frequency 6.144_MHz. However in Proteus software, it works. But in hardware, 1st it shows series of black squares in 1st line as expected but after that screen clears. I used ImageCraft for programming. I tried with different delays from µs to ms but there is no effect. I have used 8+3 communication mode with LCD. For 8 bit comm. with LCD, I used PORTC for "data & command" and PORTD-Pin5, Pin6, Pin7 as control Pins. I already disabled 'JTAGEN' fuse & set 'JTD' in 'MCUCSR', but it didn't work. Later on, I checked with another crystal, LCD, microcontroller, but same result occurs.
Can any one help me in this problem.
I attached my code files and diagram.
Immediate responce would be appreciated.
I am facing a problem interfacing "LCD 162A" with ATmega32L with frequency 6.144_MHz. However in Proteus software, it works. But in hardware, 1st it shows series of black squares in 1st line as expected but after that screen clears. I used ImageCraft for programming. I tried with different delays from µs to ms but there is no effect. I have used 8+3 communication mode with LCD. For 8 bit comm. with LCD, I used PORTC for "data & command" and PORTD-Pin5, Pin6, Pin7 as control Pins. I already disabled 'JTAGEN' fuse & set 'JTD' in 'MCUCSR', but it didn't work. Later on, I checked with another crystal, LCD, microcontroller, but same result occurs.
Can any one help me in this problem.
I attached my code files and diagram.
Immediate responce would be appreciated.