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: Setup DAC for CPU2

Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Hello,

I'm trying to configure the DACs for CPU2 using SysConfig, but having some issues.

On CPU1 configuration page, I have connected the DACs to CPU2

And on CPU2 I added the DAC instance.

As it can be seen on the last screenshot, I'm getting an error saying that "The ANALOG PinMux module needs to be added on CPU1 when a DAC instance is added to CPU2". However, I'm not figuring out where is this analog pinmux module on CPU1 options.

I'm using C2000Ware_5_01_00_00, and the TI v22.6.0.LTS compiler.

Thank you in advace

  • Hi Fabricio,

    The ANALOG pinmux is not required for F2837xD. I will create a JIRA to track this and shall make the necessary updates.

    We shall fix this is in the next C2000Ware release.

    Thanks

    Aswin

  • Thank you Aswin,

    For now, as a workaround I suppose that I need to handcode the DAC configuration, right? Or is there something that I can do inside SysConfig?

    Best regards

  • Hi Fabricio,

    As a workaround you need to suppress the error message in the syscfg file.

    You can go to C2000Ware_5_01_00_00\driverlib\.meta\dac.js  line number 211.

    You can update the if condition to - 

                if ((Common.isModuleOnOtherContext("/driverlib/analog.js") == false) && !["F2838x", "F2837xD"].includes(Common.getDeviceName())) {
                    validation.logError(
                        "The ANALOG PinMux module needs to be added on CPU1 when a DAC instance is added on CPU2",inst,"dacBase");
                }

    We shall have the fix added to github shortly. I can update this once the changes are up.

    Thanks

    Aswin

  • Thanks! It's working now.

    Best regards,

    Fabrício