Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 12 months ago.
Possible to change USB UART pin?
Hi
Is it possible to change USBTX and USBRX pin to other UART pin ?
I know that FRDM-KL25Z used USBTX and USBRX to PTA1 and PTA2. But I want to use PTA2 and PTA1 in order to use Arduino Shield via UART.
Can anybody help me?
Question relating to:
1 Answer
9 years, 12 months ago.
Sadly no, they made it just like on Arduino boards, despite their being more than enough UART pin options available to not have to do that (in their defense, they aren't the only ones doing it, although I would still think it would be handier not do the same as Arduino does, they have to do it with only one UART with one pinout, on the KL25Z it wasn't required). One thing you can consider is instead using USBSerial for your connection with your PC (https://mbed.org/handbook/USBSerial)