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.

CC3220: What is the purpose of SDK 1.3 file source/ti/drivers/PIN.h? It appears not to be used.

Part Number: CC3220

I see no references anywhere in the SDK to, say, functions PIN_init, PIN_set<anything>, or PIN_get<anything>. None of the SDK1.3 demo apps I've downloaded call anything I n it. Moreover, I do not find any file PIN<whatever>.c to define functions declared extern in PIN.h.

It seems like tis might have been something which eventually morphed into GPIO.h and should no longer exist.

  • Hi Ralph,

    Are you talking about the CC3220 or the CC3200? The most recent CC3220 SDK is 1.50.00.06, and the first released version is 1.30.01.03.

    The CC3220 SDK now uses TI Drivers and is part of the SimpleLink MCU software platform for software compatibility. Setting up the pin muxing is done in the Board.h, CC3220SF_LAUNCHXL.c, and CC3220SF_LAUNCHXL.h and initialized at the beginning of the application. Otherwise, you can use GPIO function calls to read or write to GPIO pins.

    If you are new to TI Drivers, please take a look at our SimpleLink Academy labs on this topic: dev.ti.com/.../

    Best regards,
    Sarah
  • Transitioning from SDK1.2/CC3200 to SDK1.3/CC3220. So if PIN.h is not used, why is it there?
  • Hi Ralph,

    As in Gen 1 (CC3200), the pin drivers refers to the pin pads. The GPIO driver refers to the peripheral, so it gives you access to the registers, pin muxing, retained states (input, output, pull-up, pull-down), etc.

    Gen 2 (CC3220) is part of the SimpleLink MCU software platform, so this top-level header remains for cross-platform compatibility. There is an additional detailed overview in PIN.h.

    Best regards,
    Sarah