uart2

UART2 pin on DA14681 board (basic)

Thu, 2017-02-23 15:33--jamesleo-konka

Hi Dialog,
I want to use UART2 to communicate with other device.
But I don't know which port/pin is ready for UART2.
//------------------------------------------------
/* UART 2 */
#if CFG_DEMO_AD_UART
#if dg_configBLACK_ORCA_MB_REV == BLACK_ORCA_MB_REV_D
# define CFG_GPIO_UART2_TX_PORT (HW_GPIO_PORT_4)
# define CFG_GPIO_UART2_TX_PIN (HW_GPIO_PIN_2)
# define CFG_GPIO_UART2_RX_PORT (HW_GPIO_PORT_4)
# define CFG_GPIO_UART2_RX_PIN (HW_GPIO_PIN_1)
#else

How does the UART2 RX Interrupt work ?

Thu, 2015-09-24 14:29--ankitdaf

Hi

I am trying to understand how the UART2 Receive interrupt callback flow works, can somebody help me out please?

In the example uart2_async provided in peripheral_examples in SDK 5.0.2.1 , the method UART2_Handler calls uart2_rec_data_available_isr , but I don’t understand what is calling the UART2_Handler method itself.

Also there is a UART2_Handler_func method that doesn’t seem to be defined anywhere. Can someone please shed some light on how this is set up, so I can use it correctly ?

Thanks
Ankit

Subscribe to RSS - uart2