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.
11 years, 7 months ago.
teraterm on KL25Z
where are USBTX and USBRX on KL25Z?
3 Answers
11 years, 3 months ago.
USBTX is PTA2 and USBRX is PTA1 on the FRDM-KL25Z.
See the schematic: http://www.freescale.com/files/soft_dev_tools/hardware_tools/schematics/FRDM-KL25Z_SCH.pdf
11 years, 3 months ago.
Davide, It is the same USB connector as you program the device with. It is called the "open SDA" USB connector - the one closest to J8.
Just FYI, the fastest baud rate the KL25Z can go is 115200
Serial pc (USBTX, USBRX); int main(void) { pc.baud(115200); pc.printf("\r\nHello World!!!\r\n"); }
...kevin
11 years, 7 months ago.
Davide,
Not sure i understand your question but i use.
Serial pc(USBTX, USBRX);
To establish the serial connection with the PC, to send data use pc.printf("Text");
PS the KL25Z is identical to the mbed in this sense.
Hope this helps. Gerrit