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.

TMS320F28379D: Building Custom Communication Protocols Using CLB

Part Number: TMS320F28379D

As shown in the diagram, I need to receive data from two channels, including both clock and synchronization signals, with each frame consisting of 20 bits. Can the CLB of the 28379D be used for reception? However, the CLB of the 28379D appears to be Type 1.

If the CLB cannot be used, are there other peripherals that can achieve this functionality?

image.png

image.png

  • Hi Guanghai,

    Thank you for your question. You can use the CLB to implement this but since your stream requires 20 sequential bits to be recieved the type 1 CLB might fall short because it has no dedicated shift registers. You can use the CLB to detect frame boundaries and track bit positions, but you cannot use it to capture and hold the complete 20-bit sequence from each channel. The CLB would need to trigger CPU interrupts for each bit, or you would need to implement an external storage solution.

    You can consider using the SPI/eCAP peripheral instead. 

    Thanks and Regards,

    Ira

  • Thank you for your reply. I note that the 38379D has two McBSPs; using both McBSPs to receive channels 1 and 2 respectively seems to achieve my objective.

  • Okay good to know that your issue is resolved. Thank you!