- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
ML605 Board LCD Display
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-23-2012 02:33 AM
Hi ,
I am trying to use the LCD display of ML605 board by using my VHDL code to initialize and control it . I have seen other forums and posts. I have also referred to the Spartarn 3 Guide timing for the board. I used few references and made up my controller for the LCD.
But i see that whenever i send 8 bits of data to write to the LCD ,, the upper 4 bits are being sent properly, but the lower 4 bits are always stuck at "1111" , Hence i always get the display characters corresponding to the last ROW in the CG ROM corresponding to the upper 4 bits that i send..
I m not sure if i am missing out something.or if i m not initializing the LCD properly.
Could someone point me to the mistake i m making ?
Thanks,
Venkat.
Re: ML605 Board LCD Display
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-23-2012 10:49 AM - edited 01-23-2012 10:51 AM
i see that whenever i send 8 bits of data to write to the LCD ,, the upper 4 bits are being sent properly, but the lower 4 bits are always stuck at "1111"
How are you seeing this? Sim or Hardware?
Side note: I see a lot of if, elsif statements without an else. This is typically not recommended and will usually result in latches. Also, you have a lot of signals assigned in one condition of if-elsif and not in other conditions. Again, not recommended and results in inferred latches. Consider using default assignments (or assign every signal in all states).
Re: ML605 Board LCD Display
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-26-2012 09:03 AM
Hi ,
Thanks for the reply . I have removed all the latches in the design. I have warning free synthesis. I see this in the hardware, in the LCD disply of the ML605 board.
I have a charcter mapping code to display 0-9 and A-F. I see that to what ever value i change the bits of SFD. my OP is always either "O" or "?" characters.. These correspond to the CGROM character values "00111111" and "01001111" ..
I am not sure where i m going wrong . Is there something else i m missing?
Thanks,
Venkat.
Re: ML605 Board LCD Display
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-26-2012 09:39 AM
I would recommend that you do some simulations. If not, you at least need to get chipscope in there. It's hard to debug without being able to see what is going on.
Re: ML605 Board LCD Display
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-26-2012 09:59 AM
This might be a good time to run ISIM. Logic simulation should sort out what your code is generating vs. what you expect to generate.
I assume you have a copy of the LCD controller datasheet, for clear direction on interface protocol and timing. If not, see this post.
-- Bob Elkind
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369
Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Re: ML605 Board LCD Display
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-26-2012 09:59 AM - edited 01-26-2012 10:00 AM
Hi,,
Thanks for the replies. I have done simulations in ISIM and the behaviroural simulations seems to be fine. I get what i need. May be its time to do some Post-route simulations or use Chipscope to see whats going on in there. I ll post back the status.
Thanks,
Venkat.
Re: ML605 Board LCD Display
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-26-2012 10:34 AM - edited 01-26-2012 10:54 AM
From the ML605 User Guide: "The data interface to the LCD is connected to the FPGA to support 4-bit mode only."
Are you sure that you are setting the LCD controller to 4-bit mode? The power-on default is 8-bit mode. This is covered in the LCD controller datasheet.
-- Bob Elkind
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369
Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.











