Sir,
I have one nRF52840 based MDBT50Q evaluation board. I need to configure the 2 UART pins together. How to make it possible???
Sir,
I have one nRF52840 based MDBT50Q evaluation board. I need to configure the 2 UART pins together. How to make it possible???
Hi,
In principle using two UARTES is no different than using just one. The SDK includes an example which utilizes both UARTES which you can refer to, the Serial Port Library Example with two UARTEs.
Where is that example??? Pls send the path!
I assume this is related to your other thread, where you state that you are using a ST-Link programmer. This is quite important information, as all nordic examples and tools assume you are using J-Link. Please follow up programming in that thread to avoid duplicating this.
Sir,
I need 2 RX and 2 TX pin. I want my stm32 to permanently connected to my BLE through one UART and another one I want to connect to my PC to give some instructions.
Sir,
I need 2 RX and 2 TX pin. I want my stm32 to permanently connected to my BLE through one UART and another one I want to connect to my PC to give some instructions.
I did not get the question here?
As this is a high-level description of parts of what you want to do, I want to mention that we are happy to assist in answering technical question and providing advice, but you have to do the development work yourself.
I am looking at the sdk15.3 serial_uartes/main.c file and then the project sdk_config.h
where as the UARTE module itself is configured the individual UARTEs are not.
// <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver
//==========================================================
#ifndef NRFX_UARTE_ENABLED
#define NRFX_UARTE_ENABLED 1
#endif
// <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
#ifndef NRFX_UARTE0_ENABLED
#define NRFX_UARTE0_ENABLED 0
#endif
// <o> NRFX_UARTE1_ENABLED - Enable UARTE1 instance
#ifndef NRFX_UARTE1_ENABLED
#define NRFX_UARTE1_ENABLED 0
#endif
But later the older UART and individual UART0, UART1 defines are enabled. The UARTE defines have been in the sdk_config file for now 3 releases. If they are not used can they be removed as it is very confusing.
Also I have inherited a sdk15.0 file set that uses 2 uarte ports. It appears the code uses modifications from this link: https://devzone.nordicsemi.com/f/nordic-q-a/33558/use-2-uarte-with-sdk15
Is this still valid?
Thank you
Hi,
Please create a new question, as this is not related to the original thread.