Hello Marius,
I have created a logic for transmitting 16 or 12 bytes of data depending on the received message using LPUART blocks. After flashing this code, following scenarios are checked on the board:
1.S32k144 receives a message from terminal and requires to transmit response message of 12 bytes to the terminal. Board is able to transmit 12 bytes.
2.In next iteration, for next received message from terminal, board should transmit response of 16 bytes length. In this iteration, The message received on my terminal is always 12bytes length even when 16 bytes are expected.
3. After pressing reset button of the board, if i send message from terminal which requires 16 bytes as response, then i can see 16 bytes message on terminal.
It's like every time i need to press reset button to receive data from for the new set of transmitted message from terminal. Please find the screenshot attached as a sample of the issue. I want to disable transmit once data is transmitted and again enable the buffer if new data is received.
Please suggest how I can implement this using MBT toolbox.
Thanks,
Amruta