03-08-2011 01:17 PM
I am quite a beginner in the field of fpga and vhdl and I did stumble across a problem...
How can I send the specific command bytes to an LCD in vhdl.
I worked with arduino and there the routine was actually simple after I set the baud rate I used to send some bytes and thouse were the commands.But in vhdl how do I set the baud,is it necessary to set it if so after I set it How do I transmit the command bytes and after that the message strings themselves?
Usually when i worked with serial lcd's(and arduino) i used to need only the gnd the vcc and the rx pin because i would set the tx on the board was using is it possible to do so here to if for example i use a uart communication?
http://www.digilentinc.com/Data/Products/PMOD-CLS/PmodCLS_rm_RevD-E.pdf -> here is the data sheet for the serial lcd i am using.
Thanks in advanced :smileywink:
03-08-2011 01:34 PM
In addition to the items you list, you are also new to serial interfaces, UART operation, and UART design.
Look through your design for a UART module (there isn't a single standard UART module, just as there is no single chair or kitchen table design). Hopefully the UART module you are using has some helpful comments which will help you learn how UARTs work.
For some more background on serial interfaces, start here.
- Bob Elkind
03-09-2011 12:23 PM
Your problem is that you are used to writing microcontroller firmware for your Arduino. That's sequential software design.
FPGAs are hardware designs. This is a different skill set.
03-09-2011 10:32 PM
a good staring point for you would be to take a look at the PicoBlaze processor ressources.
KCPSM3 comes with a ready to use UART and there's plenty of good documentation.
(Also an extra forum for Picoblaze related topics, where you can find answers to most beginners questions)
Have a nice synthesis
03-22-2011 01:32 AM - edited 03-22-2011 01:38 AM
i am also interested in this subject
Can anyone please send or post an example code for showing some letters on the PMod CLS lcd screen.
I have readed about the uart, i`ve implemented it but with no success in send commands or text messages to cls
Please help me or us!