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: CLB serializer example with aditional question

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Dear TI team, 

Scanning through your CLB examples for TMS320F28388D MCU in C2000Ware library, I've noticed that there does not seem to be an explanation of code (or example description) for serializer example (clb_ex22_serializer) in an adequate documentation (C2000Ware_PATH\utilities\clb_tool\clb_syscfg\doc\CLB Tool User's Guide.pdf). I'm using C2000Ware_4_00_00_00, and it includes the latest version of CLB Tool User's Guide.pdf.

Although I've managed to understand the code, there is one question that still remains, and you should be able to clarify it for me. Running this example, there are some indications that CLB tile could be configured such that it resembles an additional Fast Serial Interface. So, is there a possibility to implement an additional FSI unit using CLB peripheral, or are there some limitations that do not allow such configuration?

Thank you in advance, 

Sandro Margeta

  • Hi Sandro, 

    There is an updated version of the CLB Tool User Guide which is to be released at a later date. I have provided a screenshot of the example description from that.

    In regards to your CLB-based FSI question, I will have to consult with the FSI subject matter expert to better understand the feasibility of this. Would you be wanting to operate this solution at the maximum FSI frequency (50 MHz)? The CLB operates at 100 MHz (150MHz in pipelined mode) so there may or may not be sufficient frequency depending on how much FSI functionality you would want to implement into the CLB.

    Regards,

    Peter

  • Hello Peter, 

    Thank You for swift response. 

    Would you be wanting to operate this solution at the maximum FSI frequency (50 MHz)?

    Ideally, that would be the case, but we will be satisfied with at least 25 MHz (2 channels, D0 and D1) solution. 

    Looking forward to hearing Your and FSI expert's further thoughts regarding this matter!

    Sandro

  • Hi Sandro,

    I was able to reach out to the FSI expert and they had a few questions.

    1. Is there a need for an additional FSI port in the system?

    2. Are you wanting to implement FSI RX or FSI TX?

    This idea has not been explored in the past, but it may be possible. It would most likely be quite a complex CLB implementation and would result in reduced speeds, though.

    Regards,

    Peter

  • Hello Peter, 

    Thank You for including FSI expert in this conversation. 

    To answer both of Your questions: 

    We reserved maximal resources for CLB subsystem inputs and outputs during DSC pinout definition project phase, hoping that we will be able to realize additional FSI TX and FSI RX interface. It should be noted that we don't need complete FSI capabilities on one CLB module, we rather want to use it as an auxiliary dedicated link between two (or more) F28388D DSC nodes where the master DSC would only have FSI RX interface while the slave would have FSI TX interface (one on one communication). That would certainly only be used in configurations where all the main FSI interfaces are already occupied. The auxiliary link won't be included in a daisy-chain, or star topology communication network. We also made sure to provide resources (pinout) to fully utilize the real FSI interfaces where the main communication will take place. 

    With that said, reduced speeds (at least 25 MHz) for dedicated FSI interface will still meet our needs if two communication lines (D0 and D1) could be supported for each module. 

    Kind regards,

    Sandro

  • Hi Sandro,

    Thank you for the additional information about the FSI system requirements. Judging from your message, it should be possible to emulate a basic FSI module with the CLB. I cannot provide any example code/configuration since this has not been done before, but I have seen the CLB used to emulate other features like eQEP, eCAP, CRC, and other communication peripherals. 

    Each CLB tile has multiple counters, so support for two communication lines should be fine. I would 100% recommend to utilize pipelined mode to get the maximum frequency out of the CLB. Please reach out if you need any other assistance on specific aspects of the CLB or C2000 device.

    Regards,

    Peter