Hi all!
Is it true I do reset FIFO:
HWREGH(0x48024008)|=0x2;
?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all!
Is it true I do reset FIFO:
HWREGH(0x48024008)|=0x2;
?
Lalindra,
Problem solved!
Writing to the register needed to do through the operation "=" no "| ="
As a result of the operation, "read - modify - write", reads the value of the register IIR, as written down in the register FCR.
Сorrect variant:
1. fcrRegValue=UART_FCR_PROGRAM(rxTrigLevel, txTrigSpace, UART_DMA_MODE_1_ENABLE, 0, 1, 1);
2. HWREG(hwAttrs->baseAddr + UART_FCR) = fcrRegValue;
The technical documentation is information:
Regards,