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.
8 years, 9 months ago.
Serial TX,RX
I'm started to use FRDM-KL05z.
The figure on ARM mbed/Platforms page, titled "FRDM-KL05z arduino Headers", says D0 = TX (of uart) and D1 = RX. https://developer.mbed.org/platforms/FRDM-KL05Z/
Is it correnct ? I wonder it should be D0 = RX and D1 = TX. Or .. mama.. Could each of these pins be assigned both Tx and Rx ?
Question relating to:
1 Answer
8 years, 9 months ago.
Hi,
In the Reference Manual of KL05,
PTB1 can be assigned to UART0_TX (ALT2) and UART0_RX (ALT3)
PTB2 can be assigned to UART0_RX (ALT2) and UART0_TX (ALT3).
moto
I found, in TARGET_KLXX/TARGET_KL05Z/PinNames.h, PTB1 is defined as USBTX = D1. So the figure on ARM mbed/platfoms page seems to be wrong.
posted by yoo uta 17 Feb 2016