UART_DRV_SendDataBlocking(uartCom_IDX, (uint8_t*)("this is a"), 9, 50u);
Hello Thooman Wang
you need to install interrupt handler.
1] if you are using processor expert then enable "Install Interrupt".
2] If using KSDK without processor expert you can add it manually.
* API is :
osa_int_handler_t OSA_InstallIntHandler(int32_t IRQNumber,osa_int_handler_t handler);
* For example for UART1:
OSA_InstallIntHandler(UART1_RX_TX_IRQn, uartCom1_IRQHandler);
* Handler can be write as follows....
void uartCom1_IRQHandler(void)
{
UART_DRV_IRQHandler(UART1_IDX);
}
Let me know if any...
Thanks & Regards,
Harsh
Engineer
Einfochips