Wrong LED ports specified in SDK's build.h

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wrong LED ports specified in SDK's build.h

1,226 Views
dandavidson
Contributor I

Was I given access to the wrong board in MCUXpresso SDK Builder or does this board's SDK need fixed?

Have a TWR-POS-K81 board. When using (online) MCUXpresso SDK Builder, the only K81 board that appears is the "TWR-K81F150M" and the build is named "SDK_2.4.1_TWR-K81F150M.zip". After downloading the SDK, building and running both demo_apps_led_blinky and driver_examples_gpio_gpio_led, neither one blinks any LEDs.

After examining the board.h and pin_mux.c files and the TWR-POS-K81 User Guide, the following was found:

board.h:

    ITEM            PORT    PIN

    Red LED       D           11

    Green LED    D           12

    Blue LED       D           13

    SW3              A            21

    SW2              A             4

TWRPOSK81UG.pdf:

    ITEM             PORT    PIN

    Red LED        C           7

    Green LED     C           8

    Blue LED        C           13

    Orange LED   D           10

    Pushbutton     A             4

RESULT::

None of the LED port specifications are correct in board.h.

The Orange LED is not even specified in board.h.

There are two switches/buttons listed in board.h but only one in the UG.

When board.h and pin_mux.c files are modified to match the User Guide, the red LED blinks as expected.

Was I given wrong board in MCUXpresso SDK Builder or was this board's SDK based off of another board and not properly changed?

Thanks,

Dan

Labels (1)
0 Kudos
Reply
5 Replies

995 Views
JanuszK
Contributor I

Hi Robin,

"If there are any differences with I/O"

 

Where is the real gpio description ?

 

regards

Janusz

0 Kudos
Reply

1,101 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi  Dan Davidson,

For K81 materials like the latest SDK the customer must have NDA.
Please contact your local DFAE for assistance on NDA issue.
Please kindly refer to Distributor Network|NXP for more details.

Best Regards,

Robin

0 Kudos
Reply

1,101 Views
dandavidson
Contributor I

Robin,

We have NDA in place (that is how we got the SDK in the first place).

I was trying to determine if it is the correct one or not.

Dan

0 Kudos
Reply

1,101 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Dan,

Sorry for the inconvenience!
I just got the feedback from related engineer:

There is no SDK support for the TWR-POS-K81.
For this board, the customer should use the TWR-K81F150M.
If there are any differences with I/O  - the customer will have to change them manually.

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,101 Views
dandavidson
Contributor I

Thanks Robin!

0 Kudos
Reply