Hi,
I'm using a STM32f302r8 nucleo and am trying to get the half-duplex UART working with DMA and interrupts to talk to dynamixel motors. Can anyone help me out please?
Right Now, I've just got the following working:
while(1)
{
uint8_t pData[3]="hi!";
HAL_HalfDuplex_EnableTransmitter(&huart1);
HAL_UART_Transmit(&huart1, pData, 3, 500);
HAL_Delay(500);
}
But when I use DMA with Interrupts (HAL_UART_TxCpltCallback), things aren't working. I'm not sure what all information I should put in here.