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.

TM4C123GH6PM: Gen4-ulcd-50dt SPI initializations

Part Number: TM4C123GH6PM

Hello there,
I am trying to use Gen4-ulcd-50dt with TivaC123  to read from and write on it using SPI module, and it seems like I have missed some configurations for the display initialization. I have followed the the display data sheet which u can find here "
https://www.sos.sk/microsite_docs/4D%20SYSTEMS/ViSi-Genie-Reference-Manual-REV1.3.pdf". Keep into your consideration that I have tested the SPI protocol more than once and it gives me a clock and chip select like the one bellow while display does not respond with any commands back to the controller. If u have faced such a problem with the same device or even with SPI, send me please.

  • Hello Ali,

    So from what it sounds like the issue is not configure SPI to output data / clock / chip select but that the display won't accept the SPI commands?

    If so that is beyond what I can help with - we don't have knowledge of that specific display interface.

    The only things I can think to suggest are:

    1. Make sure your clock polarity and rising/falling clock in of the signal are correct - these are the 'SPI Modes' - There are Modes 0 through 3 and some devices have hard requirements on which mode is used, so if you are configuring for Mode 0 but the device wants Mode 1, then the communication would look onto on a scope but the receiving device would not recognize the commands sent.
    2. Use a logic state analyzer which will help decode your packets fully so you can compare it against the datasheet closely to see what packets may be sent wrong etc.

    Best Regards,

    Ralph Jacobi