Dear NXP experts:
The BSC9132 has four UARTs（UART0, UART1, UART2, UART3）. I found this phenomenon with UART1. The UART1 can be initialized and send message in Power Architecure e500 core. But if I run the UART code in StarCore SC3850 DSP Core. The system of BSC9132 platform will be halted. For the application requirements, I need UART1, UART2 and UART3 to be used in StarCore SC3850 DSP Core. How can I solve this problem? The attachment is my UART program, can you give me some advice? It would be better if you had UART programs in StarCore SC3850 DSP Core.
In the provided "uart.c" it is written:
#define uart1_base (0xff704600)
This is correct the e500 core (Power Architecture CCSR space), but not for the SC3850 (DSP Architecture View of the CCSR Space).
Please refer to the QorIQ Qonverge BSC9132 Multicore Baseband Processor Reference Manual,2.3.2 DSP Architecture View of the CCSR Space and Table 2-46. SC3850 Core 0 and DSP Architecture View of the System Address Space where it is printed:
Power Architecture CCSR area: 0xFEF0_0000 - 0xFEFF_FFFF
So UART1 base address for the SC3850 is:
0xFEF0_0000 + 0x4600 = 0xFEF04600