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.

MSP430F67791A: Disable DC Block for some Sigma-Delta ADC Channels

Part Number: MSP430F67791A


Hello Guys,

Good day.

Our customer wanted to know if they can disable the DC Block (High Pass filter) for some Sigma-Delta ADC channels in this part? If they can, how to disable them?

Thanks and regards,

Art

  • Hi Art,

    Let me reach out to our expert on this device.

  • If they're using EMDC, we would encourage them to deselect the DC filter option in the EMDC GUI and regenerate the code.

  • Thanks James!

    Are there registers in  MSP430F67791A that can enable (block) and disable (Un-Block) the DC filter for each current/voltage respectively? – selectable.

    Customer will need to use the firmware code to implement this.

    Thanks and regards,

    Art

  • Hi Art,

    The DC filtering is done in software, so there are no registers that enable/disable this functionality. If they need DC filtering, they can enable it in the EMDC GUI.

  • Hi James,

    Good day.

    According to the customer, the GUI generates the firmware source code. He is expecting the enable and disable functions of the DC filters to be implemented in the firmware code. He wants to know how the firmware code handles this.

    Is it possible to provide the generated firmware code related to the enable and disable functions of the DC filters for MSP430F67791ACY?

    They need to handle in the firmware level when debugging the firmware.
    I apologize, I am just relating feedback from the customer.

    Thanks and regards,

    Art

  • Hi Art,

    According to the customer, the GUI generates the firmware source code. He is expecting the enable and disable functions of the DC filters to be implemented in the firmware code. He wants to know how the firmware code handles this.

    Yes, the GUI does generate the code but doesn't include the feature to switch back and forth between enabling and disabling the DC filters. Most customers either need it or not, especially since the hardware and inputs are normally fixed in the design. If the DC filter is selected in the GUI, the code related to the DC filters will be included in the generated code.

    Is it possible to provide the generated firmware code related to the enable and disable functions of the DC filters for MSP430F67791ACY?

    First, they can compare the generated code with DC filters enabled and with them disabled. Then, they can add the logic (e.g. if() statements) to determine when to execute the DC filter code per phase based on a condition (e.g. software flags). This approach is fairly basic C coding, so the customer should be able to figure out how to implement this. There are many examples of how to implement if() statements online.

    They need to handle in the firmware level when debugging the firmware. I apologize, I am just relating feedback from the customer.

    If this is strictly for debugging purposes to figure out if enabling DC filters is necessary, why don't they debug on EMDC project with the DC filters enabled and then debug another separate EMDC project with the DC filters disabled? Maybe I'm not understanding what they're trying to do here.

  • You can also point the customer to this thread in case they want to chime in, so you don't have to relay the feedback back and forth.

  • Thanks James!

    In case he do have further inquiries, I'll direct him to this thread.

    Best regards,

    Art

  • Hi James,

    Unfortunately it seems customer preferred to discuss this through me.. They are asking if its possible to provide them with our firmware code to support our claim? They mentioned that they already have the firmware source code from a different manufacturer and needs ours to make a decision.

    Thanks and regards.

    Art

  • Hi Art,

    I'm confused about their question. What claim are they referring to? What are they asking for? The DC filter code will be included in the EMDC-generated code if DC filtering is selected in the EMDC GUI. Are they asking for the source code of the DC filter? If so, that's not something we share. I would expect that they would be more interested in testing the performance of the solution rather than accessing the source code.

  • Hello James,

    I received you separate email regarding this. Any update on how we can proceed with the customer firmware code request?

    Thanks and regards,

    Art

  • Hi Art,

    I will reply to your email. It's not clear if they are asking for the application code or the source code.

  • Noted and thanks James!

    Art

**Attention** This is a public forum