512 byte limit with HAL_UARTEx_ReceiveToIdle_DMA
Hello, I am having a issue with HAL_UARTEx_ReceiveToIdle_DMA on a NUCLEO-H7A3ZI-Q, when using the following code:
uint8_t rx_buffer [4096];
HAL_UARTEx_ReceiveToIdle_DMA(&huart3, rx_buffer, sizeof(rx_buffer));
void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t size){
/*code*/
}My rx_buffer is only populating the first 512 bytes, with the remaining data remaining as 0.
__HAL_DMA_GET_COUNTER(huart3.hdmarx);Provides the incorrect amount of data being passed over serial.
I have used serial plotter and CoolTerm to try and send packets but both hit this 512 byte limit.

rx_buffer not populated past 512 bytes

length correctly calculated as 640 bytes long
