Hello,
I am currently in the process of setting up serial communication from the C2000 to a host system. Larger data blocks (>120 bytes) are to be transmitted at regular intervals (50 ms).
I do not want to use the "Wait until previous data transmitted" option in the C28x SCI Transmit Block, because the blocking mode of the SCI blocks other tasks.
However, if I deactivate this function, the Tx FIFO is only filled once (16 bytes) and then the call is returned. The rest of the data to be transferred is discarded.
Is there a way how I can use the SCI simulink block in combination with the Transmit FIFO lvl interrupt?
The transmission of larger data packets (including an additional header and terminator) should be started in a periodically called subsystem (50 ms). The transmit FIFO interrupt should then be used to write the data to the FIFO as soon as the FIFO is empty or almost empty.