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, 6 months ago.
UART on mKit shared with USB-Serial pc output?
Is the UART on the IOpins usable separate from the debug USB Serial line?
funny things are happening. IS this uart used for the interface chip such that it can't be used unless the interface chip is off?
Question relating to:
1 Answer
9 years, 6 months ago.
Hi tap tap,
which pins are you referring to? The default console output (USB-Serial) is through :
RX_PIN_NUMBER = p11, TX_PIN_NUMBER = p9,
and according to the pinmap available for Serial for NRF51 targets:
static const PinMap PinMap_UART_TX[] = { {TX_PIN_NUMBER, UART_0, 1}, { NC , NC , 0} }; static const PinMap PinMap_UART_RX[] = { {RX_PIN_NUMBER, UART_0, 1}, {NC , NC , 0} };
which implies that you can't use any serial object. There's an issue opened on github mbed SDK repo for making available more pins as it should be possible.
Regards,
0xc0170
Yes I was trying to use P0_9 and P0_11
So can I use a UART on this module at all as it sits right now? will StdIO go out over those pins as well with the Interface module off.
If I turn the "interface module" off with the witch on the board will that allow UART to work on these pins? I would imagine that I cannot use the USB Serial with the interface module off though.
On the FOTA version, how is the debug terminal setup? Does that use the nRF UART service to send UART RX/TX responses? I am actually trying to use this board as a simple BT4.0 to UART to talk to a UART on a KL25Z.
posted by 17 Oct 2014
still need help
posted by tap tap 02 Nov 2014