This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
I found that the MSP-GRLIB library for LCD displays in BoosterPacks is available at this link : www.ti.com/.../MSP-GRLIB
According to the documentation,
MSP-GRLIB is designed for the MSP430 and MSP432 families. I wanted to know if there is any way to use this library with the MSPM0 SDK for an LCD display. If not, could anyone suggest any alternatives or modifications that would allow MSPM0 to support LCD displays?
I think this is one of those "suck it and see" situations, or Stepwise Refinement by Compiler Error.
You have the source, try to compile it and see what it complains about.
I took a quick stab:
I had to use CCS and not Theia
I used the MSP432P401 example as my base.
I imported the empty_driverlib_src_LP_MSPM0G3507_nortos_ticlang project
I copied over the GRlib, lcd drivers and images folders
I copied over the touch_P401 files
I just copied all of the example code into the "empty.c" file
I set up the include directories to point to the grlib folders
I commented out the watchdog, clock setup and a few other misc things
empty and touch_P401 now compile.
Now it is just setting up syscfg to match the pins and ADC's, and using the proper GPIO/ADC calls.
I lot of work, but nothing impossible.
Good job.
We have not yet adapted this library for MSPM0, and I will share your record to our software team.
Thanks.