2023-05-29 06:22 AM
My program hangs after the return statement.
pDataDMA = pData->data();
HAL_StatusTypeDef val = HAL_SPI_TransmitReceive_DMA(&spih, pDataDMA, pDataDMA, pData->size());
if (val != HAL_OK) {
Error_Handler();
}
return;
Solved! Go to Solution.
2023-05-29 06:42 AM
Found the problem. Had a while(1) in the callback
2023-05-29 06:42 AM
Found the problem. Had a while(1) in the callback