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.

Compiler/TM4C123GH6PM: TM4C123 not working with Kentec BOOSTXL-K350QVG-S1

Part Number: TM4C123GH6PM

Tool/software: TI C/C++ Compiler

HI, 

I am working with with the TM4c123G MCU, and the kentec booster pack board. I have gone through a lot to try and make it work and it is still not working. I am using lab 10 from TI to just get it up and running right now. I have removed R9 and R10, and added the SPI for this touch screen. I am not sure if i added them correctly? i saved them to the folder TI>TivaWare2.1.3.156>Examples>boards>kentec. I also copied them into the file that had the 8.bit code. I am not sure if i did that correct? i also set up all the file search paths correctly. the error I'm getting now is this. Any suggestions??

  • The error message is because the definition you have for the function Kentec320x240x16_SSD2119Init does not match how it is defined in the header file.
    The header file name is clipped off in the error message image you included above. The header file:
    "C:\ti\TivaWare_C_Series-2.1.3.156\examples\boards\ek-tm4c123gxl-boostxl-kentec-s1\drivers\Kentec320x240x16_ssd2119_spi.h" defines the function with an argument.

    Kentec320x240x16_SSD2119Init(uint32_t ui32SysClock);

  • Okay thanks,

    I will look at it how would you suggest going about fixing that? do I change it in the #include section or in tivawar?

    Mike

  • The .c file and the .h file are not consistent. Where did the .c file shown in your screenshot above come from? It may be a question of changing the .c file, or changing the search path in CCS for the include files.
  • I got it from one of the links posted in one of the forums here. They said it was needed for the SPI interface with the new touch screens. How should I try and fix this?

  • This is the header file i have above  Where should I enter the code you have above? 

    Thanks,

    Mike 

  • I recognize where the .h file comes from. There is a .c file, "C:\ti\TivaWare_C_Series-2.1.3.156\examples\boards\ek-tm4c123gxl-boostxl-kentec-s1\drivers\Kentec320x240x16_ssd2119_spi.c" that has a different definition of Kentec320x240x16_SSD2119Init().

    //*****************************************************************************
    //
    //! Initializes the display driver.
    //!
    //! \param ui32SysClock is the frequency of the system clock.
    //!
    //! This function initializes the LCD controller and the SSD2119 display
    //! controller on the panel, preparing it to display data.
    //!
    //! \return None.
    //
    //*****************************************************************************
    void
    Kentec320x240x16_SSD2119Init(uint32_t ui32SysClock)
    {
        uint32_t ui32ClockMS, ui32Count;
    

    Can you use this C file with the header file?