UART does not send data which come from gui?
Hi everyone,
I'm using STM32g491 and rs485 modules. I'm trying to transmit data from uart1 with DMA when I receive data. There is a dilemma it transmit data but also does not? When I try to send a buffer which defined on stm's code, it transmits but when I try to transmit data come through GUI, it does not transmit. There is no problem about data coming from GUI. I can see it when I debug. Here is my code and the data coming from gui on debug
if(uartCh.BLUT == 1)
{
HAL_GPIO_WritePin(BLUT _EN_GPIO_Port, BLUT _EN_Pin, 1);
uart1_return = HAL_UART_Transmit_DMA(&huart1, guiBLUT_gelen, 11);
uartCh.BLUT = 0;
}
if(uartCh.GNS == 1)
{
HAL_GPIO_WritePin(GNS_EN_GPIO_Port, GNS_EN_Pin, 1);
uart1_return = HAL_UART_Transmit_DMA(&huart2, guiGNS_gelen, 21);
uartCh.GNS = 0;
}

