BF537 UART1 not working

Hello,

I have code that correctly configures UART0 into DMA mode and transmits some test data using SubmitTxBuffer().

ADI_UART_HANDLE hDevice;
uint8_t driverMemory[ADI_UART_BIDIR_DMA_MEMORY_SIZE];
bool uartTxProcessed = false;
ADI_UART_EVENT uartError = ADI_UART_HW_NO_ERR;

uint8_t preamble[] = {0};
char buffer2[] = "Test";

adi_uart_Open(0, ADI_UART_DIR_BIDIRECTION, &driverMemory, ADI_UART_BIDIR_DMA_MEMORY_SIZE, &hDevice);
adi_uart_SetConfiguration(hDevice, ADI_UART_NO_PARITY, ADI_UART_ONE_STOPBIT, ADI_UART_WORDLEN_8BITS);
adi_uart_SetBaudRate(hDevice, 115200);
adi_uart_EnableDMAMode(hDevice, true);
adi_uart_RegisterCallback(hDevice, GlobalUARTCallback, hDevice);

// Must submit a buffer at least of size 1 before enabling, or code crashes
adi_uart_SubmitTxBuffer(hDevice, preamble, sizeof(preamble));
adi_uart_EnableTx(hDevice, true);

// Wait for preamble buffer to be sent (callback flips uartTxProcessed)
while(uartTxProcessed == false) { };

// Send test data
adi_uart_SubmitTxBuffer(hDevice, buffer2, sizeof(buffer2));

// Wait for test data to be sent (callback flips uartTxProcessed)
while(uartTxProcessed == false) { };

adi_uart_EnableTx(hDevice, false);
adi_uart_Close(hDevice);

(Note: error checking has been removed for brevity)

However, when I try to run the same code opening UART1 instead of UART0 (by changing the 0 to a 1 in the adi_uart_Open() command), then nothing gets transmitted.  Also, when I call 

adi_uart_GetHWErrorStatus(hDevice, &pHwError, &pArg);

directly after the adi_uart_open() command, I see a returned pHwError code of 0x0000000A, which I think represents ADI_UART_HW_ERR_FRAMING | ADI_UART_HW_ERR_OVERRUN.

Does anybody know why this is happening?



Clarified
[edited by: kevinn at 4:43 PM (GMT 0) on 6 Dec 2018]