Hi @Julián_AragónM ,
I am getting the interrupt but the data not present in the RxBuff array.
can you help me with this I am attaching the code below.
void uartRxDmaReqCallBack(void)
{
while(0);
}
int main(void)
{
/* Write your code here */
//clock init
Clock_Ip_Init(Clock_Ip_aClockConfig);
Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS_PortContainer_0_BOARD_InitPeripherals,g_pin_mux_InitConfigArr_PortContainer_0_BOARD_InitPeripherals);
IntCtrl_Ip_InstallHandler(DMATCD2_IRQn, uartRxDmaReqCallBack, NULL_PTR);
IntCtrl_Ip_EnableIrq(DMATCD2_IRQn);
IntCtrl_Ip_Init(&IntCtrlConfig_1);
/* init DMA */
Dma_Ip_Init(&Dma_Ip_xDmaInitPB);
/* Initialize DMAMUX via HLD RM driver */
Rm_Init(&Rm_Config_BOARD_INITPERIPHERALS);
Lpuart_Uart_Ip_Init(0U,&Lpuart_Uart_Ip_xHwConfigPB_0_BOARD_INITPERIPHERALS);
Lpuart_Uart_Ip_AsyncReceive(0U,RxBuff,10);
//S32_NVIC->ISPR[(uint32)(DMATCD2_IRQn) >> 5U] = (uint32)(1UL << ((uint32)(DMATCD2_IRQn) & (uint32)0x1FU));
for(;;)
{
Siul2_Dio_Ip_WritePin(LED_PORT,LED_PIN,true);
delay();
Siul2_Dio_Ip_WritePin(LED_PORT,LED_PIN,false);
delay();
if(exit_code != 0)
{
break;
}
}
return exit_code;
}