This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: SPI and CLB Using RX Fifo Together or Pushing 2 Times Data to SPI RX Fifo with 1 HLC Event

Part Number: TMS320F28388D

Hi all!

I am trying to push data from CLB to SPI rx buffer.

I use two counter(eg C1 and C2) of CLB as shift register(SR) and they receive data simulatenously. When the both SR's receive data(16bit or 32 bits) I want to write these 2 words data from C1 and C2 to the SPI rx fifo. Is there any why to do it? I was planing to use differnt HLC events but it seems it is not possible to define more than one event for data pushing to SPI rx fifo.

If it doesnt work I might use SPI's receive part + one SR from CLB to read simulataneously data from 2 SPI slave. For this case I want to know that what happens when SPI RX Fifo is enabled and if SPI receives and CLB pushes data at same time to the SPI rx Fifo? Is it possible to share spi rx fifo with CLB and spi and push data at same time?

Or can I generate an event with HLC to push data to SPI rx buffer?

thanks in advance.