AnsweredAssumed Answered

UART_HAL_SetRxDataRegFullIntCmd

Question asked by Tim Rotunda on Oct 23, 2014
Latest reply on Oct 24, 2014 by David E Seymour

I am not seeing anything from the UART with this code in fsl_uart_hal.h:

 

/*!

* @brief Disables the rx_data_register_full_interrupt.

*

* @param   baseAddr UART module base address.

* @param   enable   true: enable, false: disable.

*/

static inline void UART_HAL_SetRxDataRegFullIntCmd(uint32_t baseAddr, bool enable)

{

    /* receiver interrupt enable for receiver data register full (RDRF)*/

    BW_UART_C2_RIE(baseAddr, (uint8_t)enable); 

}

 

which is called with:

 

UART_HAL_SetRxDataRegFullIntCmd(baseAddr, true);

 

 

from fsl_uart_driver.c in the SDK.

 

I am able to output data but nothings coming in.  Any ideas?

 

Thanks,

 

Tim

FRDM-K64F

IAR EWIDE

I-jet

Outcomes