Hi Team,
For our application on TMS570LC4357 controller, we have external master device, which is connected on the MiBSPI1 peripheral where this device is communicating at baud rate 10MHz and Hercules processor is operating in slave mode. The external device is expected to send the continuous audio stream (1 Sinusoidal cycle = 320 Words; 1 word = 2 byte = 16 bit), where processor is sampling the data as, 160 words in first half cycle and then remaining 160 words in next cycle.
To achieve this requirement, we wanted to have the two independent buffers like a Ping Pong, holding the 160 words each, where first buffer triggers the other after receiving the first 160 words. As per the manual we can use the SPI in Multibuffered mode where TG0 and TG1 will hold each 160 words. Here we would like to understand which mechanism we can use to trigger the TG1 after the data has been received on TG0, without missing any bytes in between.
Regards,
Shivam
