Page 1 of 2

lcd library

Posted: Mon May 07, 2018 11:46 am
by danis
Hello!
Somebody has library or any examples for working with this devices?

XS1-L16A-128-QF124-C10 and lcd K430WQA-V4-F

thank you for help.

Re: lcd library

Posted: Tue May 08, 2018 8:49 am
by mon2
Hi. Have you seen the following application note?

https://www.xmos.com/support/appnotes/AN00168

The LCD display is the same in the example.

Re: lcd library

Posted: Tue May 08, 2018 6:58 pm
by danis
thank you.

ok, I took it and didn't changed it.

why is it give a mistake?


Image

Re: lcd library

Posted: Wed May 09, 2018 10:15 am
by mon2
Fairly confident the code example worked for us when we tested a few years ago. Drew the XMOS logo or something like that on the very dim lcd screen. Are you compiling their project or was something changed? Post your project if customized. Could be how it was imported into the IDE. Will try to compile the same later today.

Re: lcd library

Posted: Wed May 09, 2018 10:37 am
by danis
I did example code from this document and didn't make changes.
https://www.xmos.com/download/private/A ... rc1%29.pdf

and I added to project file lcd.xc from lcd_lib but it doesn't help.


Image

Re: lcd library

Posted: Wed May 09, 2018 11:13 am
by mon2
Hello. Demo compiled fine for me. It must be how the project is being imported into the IDE. Please follow these steps:

1) Launch the xTIMEComposer IDE (just tested with 14.3.2).

2) Create a new workspace. Just used 050918 as a fresh name.

3) Select the EDIT perspective from the LEFT GUI icons from this tool.

4) Select the EXAMPLES GUI icon on the left side of the tool. Type in "LCD" to quickly locate the same example. Double click the AN00168 example. This will force the tool to import the same into your workspace.

5) Once this project example has imported, select Project (top tab) -> Build All -> errors will appear but the toolchain will then work to resolve these errors and import the required LCD library for you. Then will continue to compile without any errors.

6) Please test and review the posted screens below. Update this thread when ready for closure.


Image


Image



Image

Re: lcd library

Posted: Wed May 09, 2018 12:00 pm
by danis
thank you very much!
compiling has been successful!

but running isn't working.
it exactly work with XS1-L16A-128-QF124-C10?

Image

Image

Re: lcd library

Posted: Wed May 09, 2018 12:12 pm
by mon2
Which XMOS kit do you have? Can you take a quick pic and post it? The tool is stating that the small daughter board (JTAG) has been found on your system.

Enter the xTIMEComposer Console Mode -> then type in:

xrun -l ; that is a "L" as in Larry

and post your results. This test will confirm if the connected XMOS kit is being detected.

Re: lcd library

Posted: Wed May 09, 2018 12:22 pm
by danis
Image




Image

Image

Image

Re: lcd library

Posted: Wed May 09, 2018 12:29 pm
by mon2
The output from the console mode is positive [0..1] = Dual Tile processor found. You can remove the XTAG board away from the kit and re-run and the results should change.

Try to remove the USB cable and re-dock onto another USB connector (black insulator = USB 2.0 are recommended if available). You could try to reinstall the toolchain and be sure nothing was skipped during the installation. Any virus program running that may have blocked the full installation?

Also, is this the first project you are testing with this kit or have you validated a simple LED blinky program or similar to confirm the toolchain is installed ok?