Hello,
I am working with the S32K324 evaluation board and using the S32K344-based HSE Demo project (S32K3XX_demo_app).
I am trying to initialize UART, but the header file provided in the demo (S32K344.h) does not contain any UART-related definitions.
The following symbols do NOT exist in the header:
- LPUART1 / LPUART0~4
- PCC_LPUARTx
- LPUART_CTRL_*_MASK, LPUART_STAT_*_MASK
- Baud register macros (OSR/SBR)
In the Reference Manual (Table 263), I can only see entries like “Low Power UART0~4” under Partition 2 clock mapping,
but there is no information about the actual peripheral module name or register block associated with these UARTs.
**I need clarification on the following:**
1. What is the exact UART peripheral name used on S32K324/S32K344?
(Is it LPUART, LINFlexD, FLEXIO-UART, or something else?)
2. What is the correct base address and register structure for this UART module?
3. How should I properly enable the UART clock?
- Which MC_ME COFB REQ bit corresponds to UART?
- Or should the clock be enabled via PCC instead?
4. Which SIUL2 MSCR pins correspond to UART TX/RX, and what ALT/SSS value should be used?
The S32K344.h header in the demo project contains no UART definitions, so I am unsure which UART module to use or how to enable it.
Any guidance or an official reference to the correct UART module and registers would be appreciated.
Thank you.