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.

CC3220S-LAUNCHXL: CC3220S-LAUNCHXL : wifi_doorlock Project: PinMux

Part Number: CC3220S-LAUNCHXL
Other Parts Discussed in Thread: CC3220S, SYSCONFIG

Hi,
We are trying to customize the pins form "wifi_doorlock_CC3220S_LAUNCHXL_tirtos_ccs".
What is the best way & Steps to follow to migrate pins for the customized hardware.
We have already created pinmux files , according to new hardware.

  • Hi Sagar,

    All of the pin muxing definitions in the Wi-Fi doorlock example is in the CC3220S_LAUNCHXL.c and the supporting CC3220S_LAUNCHXL.h and Board.h. You can replace those files in your project. The application code then uses the pin mux information from those files with the peripheral Init, Open, etc. functions.

    Best regards,
    Sarah
  • That I found, while searching.
    I also created pinmux files using online tool.
    But, I am new in this environment of TI.
    So, is there any other way to easily configure pins for custom hardware.
    if not, is there any reference to follow, to make this process easy,
  • One more question, how to update Board.c & Board.h as per the latest changes in e CC3220S_LAUNCHXL.c and CC3220S_LAUNCHXL.h , for the customized hardware.
  • Hi Sagar,

    You have a few options:

    The simplest and fastest way to is edit the source in the LAUNCHXL files yourself. All of the pin definitions for each peripheral have PIN_XX or GPIO_XX in the define. Just look for those in each peripheral section of CC3220S_LAUNCHXL.c and change them to match the pins you've chosen using the datasheet. There's a full explanation of the board files and a training on how to configure TI Drivers in SimpleLink Academy: dev.ti.com/.../

    You can also try using the Pin Mux Tool for a GUI configuration, but there are some small known errors. You should always compare against the CC3220 datasheet: dev.ti.com/.../app.html

    Eventually, support for the Pin Mux Tool will be integrated into the new SysConfig tool which is in preview in the latest CC32xx SDK. This also is a GUI interface, but it is not supported for the Wi-Fi Doorlock project yet or the SDK version tested with that project (v2.10). You can find more information on SysConfig on SimpleLink Academy: dev.ti.com/.../

    Best regards,
    Sarah
  • Thanks. That helped.