Hi,
I was able to run the UART interrupt-based example from CSL (CSL_UART_IntExample). Everything works fine on the given example.
Now, for my project, I need the parallel port Mode 1 on the EBSR register.
The given example works on Mode 5.
I edited the "csl_uart.c" file (from the cslVC5505 library), the "UART_init()" function and I replaced the following line:
CSL_FINST(uartObj->sysAddr->EBSR,SYS_EBSR_PPMODE,MODE5);
with:
CSL_FINST(uartObj->sysAddr->EBSR,SYS_EBSR_PPMODE,MODE1);
I've recompiled the cslVC5505 library and the CSL_UART_IntExample and run again the example. I was expecting to get the same output on the serial terminal application but I got no character. I also tried to push some keys but with no result. I paused the code and the UART registers, IER and the related seemed to be fine. However, no interrupt was triggered.
Changing back the line into "csl_uart.c" to use Mode 5, gave me back the working example.
Is there anything extra I need to do in order to have the UART working in Mode 1?
Thanks!
Bogdan