Hi, i am trying to use LPUART0 with pin PTA2 - Rx and PTB1 - Tx where it should receives 10 bytes of data using the LPUARTn NXP S32K11x MATLAB Library Block.
The Uart Recieve block has 1 input and 1 output signal. where the input is size. which i have given as 10.
here, the C code generated is receiving only 1 byte even when i am sending 10 bytes together using UART terminal. On checking the code generated the buffer used to receive data is just a uint8 variable and not a array.
LPUART_DRV_ReceiveData(0, &gpio_s32k11x_B.LPUART_Receive, 10U);
/*********************************************/
Please help me here with MBD. What changes i should do to get all 10 bytes at once.