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.

CC2650DK change LCD_CSN pin

I need to change Board_LCD_CSN's pin number , the original define Board_LCD_CSN is IOID_14

now I revise Board_LCD_CSN is IOID_19 , and LCD will not display anything , Do I miss something ?

  • Tzuyu,

    When you modified your board did you change the connection for Board_KEY_UP also?  By default Board_KEY_UP is wired to IOID_19. Snip from CC2650DK_7ID.h:

    ...
    #define Board_KEY_SELECT                    IOID_11         /* P1.14 */
    #define Board_KEY_UP                        IOID_19         /* P1.10 */
    #define Board_KEY_DOWN                      IOID_12         /* P1.12 */
    #define Board_KEY_LEFT                      IOID_15         /* P1.6  */
    #define Board_KEY_RIGHT                     IOID_18         /* P1.8  */
    /* LCD  Board */
    #define Board_LCD_MODE                      IOID_4          /* P1.11 */
    #define Board_LCD_RST                       IOID_5          /* P1.13 */
    #define Board_LCD_CSN                       IOID_14         /* P1.17 */
    ...

    If that is not the problem, please reply back with the version of TI-RTOS you are using, and details of both board and software changes you’ve made.  Also, any debugging details that could provide more information.

    Thanks,
    Scott

  • I mark all Button Board:

  • It is hard to know what might be going wrong without a lot more information.

    After changing the pin defines did you modify the PIN_Config structures being passed to PIN_init() and PIN_open()?  

    Are you using the LCD example that comes with TI-RTOS?  If yes, can you attach the files you modified?

    What version of TI-RTOS are you using?

    Was the LCD working before the hardware modifications?

    What other *hardware* modifications have you made?

    When you run the application, do you get any errors from any APIs?  Or does the CPU get stuck at a certain point?    Are there any other new issues besides the LCD not displaying anything?...

    Thanks,
    Scott

  • in Board.h , I change Board_LCD_CSN IOID_19 (original is IOID_14)

    5078.Board.h

    3617.Board.c

  • OK, thanks, I see that you did modify the PIN_Config passed to PIN_init().  Did you also modify the PIN_Config passed to PIN_open()?

    Can you please respond to these questions I posted before?  To help you I need you to provide more information...

    Are you using the LCD example that comes with TI-RTOS?  If yes, can you attach the files you modified?

    What version of TI-RTOS are you using?

    Was the LCD working before the hardware modifications?

    What other *hardware* modifications have you made?

    When you run the application, do you get any errors from any APIs?  Or does the CPU get stuck at a certain point?    Are there any other new issues besides the LCD not displaying anything?...

  • I use SimpleBLEPeripheral project  , and guess LCD function is complete.

    and I do experiment on CC2650DK , this is my SimpleBLEPeripheral.c:

    0677.SimpleBLEPeripheral.c

  • Are you using the LCD example that comes with TI-RTOS?  If yes, can you attach the files you modified?

    What version of TI-RTOS are you using?

    Was the LCD working before the hardware modifications?

    What other *hardware* modifications have you made?

    When you run the application, do you get any errors from any APIs?  Or does the CPU get stuck at a certain point?    Are there any other new issues besides the LCD not displaying anything?...

  • TI-RTOS : C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID
    and I guess I don't have modify any hardware , because I only have one SMartRF06 Board.
  • So if you aren’t modifying the hardware, do you still have any issues?  Can you run the lcdSmartRF06EB example?

  • If I remark define Board_LCD_CSN IOID_14 . LCD will not working ,
    so I change define Board_LCD_CSN IOID_14 to define Board_LCD_CSN IOID_19
    still not working.
  • I guess I know why change Board_LCD_CSN's pin IOID_14 to IOID_19 is not working,
    Board_LCD_CSN's pin is fixed , can't change if I use CC2650DK EVM Board , I need to create
    a new Board .
  • OK, thanks, I'll go ahead and close this thread.