Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRDM-K64F: incorrect entry in PinMap_UART_RX #1657

Closed
pythontech opened this issue Apr 11, 2016 · 4 comments
Closed

FRDM-K64F: incorrect entry in PinMap_UART_RX #1657

pythontech opened this issue Apr 11, 2016 · 4 comments

Comments

@pythontech
Copy link
Contributor

The code has PTC6 as an option for UART_0 RX, but it should be PTD6. This can be verified from section 10.3.1 "K64 Signal Multiplexing and Pin Assignments" in the K64 Sub-Family Reference Manual

diff --git a/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_FRDM/PeripheralPins.c b/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_FRDM/PeripheralPins.c
index f9a4db1..92009d7 100644
--- a/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_FRDM/PeripheralPins.c
+++ b/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_FRDM/PeripheralPins.c
@@ -108,7 +108,7 @@ const PinMap PinMap_UART_RX[] = {
     {PTC3 , UART_1, 3},
     {PTC14, UART_4, 3},
     {PTD2 , UART_2, 3},
-    {PTC6 , UART_0, 3},
+    {PTD6 , UART_0, 3},
     {NC  ,  NC    , 0}
 };

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 12, 2016

Thanks for reporting. Please send a pull request with this change. I checked, PTC6 does not have UART mux option available, PTD6 does.

pythontech pushed a commit to pythontech/mbed that referenced this issue Apr 16, 2016
@pythontech
Copy link
Contributor Author

PR submitted: #1675

0xc0170 pushed a commit that referenced this issue Apr 17, 2016
@ciarmcom
Copy link
Member

ciarmcom commented Aug 1, 2016

ARM Internal Ref: IOTMORF-207

@sg- sg- removed the mirrored label Aug 12, 2016
@sg-
Copy link
Contributor

sg- commented Jan 16, 2017

@pythontech Looks like the fix has been merged

@sg- sg- closed this as completed Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants