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.

TIDA-010265: Using Internal OPAMP for Single-Shunt Current Sensing in F28E120SC (Based on TIDA-010265 Reference Design)

Part Number: TIDA-010265
Other Parts Discussed in Thread: F28E120SC, C2000WARE

Hello,
I am working on a motor-control project using the F28E120SC MCU and referring to the TIDA-010265 reference design.
In the TI design, the single-shunt current sensing uses an external op-amp for DC-bus current measurement.
Since the F28E120SC device includes an internal programmable OPAMP, I would like to know:
1. Can I replace the external op-amp with the internal OPAMP for single-shunt current measurement?
2. What software changes are required in the TIDA-010265 project?
3. Does TI recommend using the internal OPAMP for single-shunt FOC on F2800120SC?

Any guidance would be greatly appreciated.

Thank you!


Regards,
Abhishek Sathyendran

  • Hi Abhishek,

    1. Yes, you can use the internal PGA in the F28EE12 to implement single-shunt current sampling. 

    2. As the SDK is based on F2800137, you need to adapt your code changes based on your F28E12 hardware design. Additionally, if using the E12's internal PGA, you need add PGA configuration and match the gain set in sw with your Rshunt resistance.

    3. For cost- and size-sensitive applications, we recommend leveraging the F28E12's internal PGA functionality to support Single-shunt current detecting.

    Best Regards,

    Yahui

  • Hello Yahui Zhang,

    I imported a project TIDA-010265 that was originally created for the F280013x device, but I want to build and program it for the F28E120SC device. When I try to flash the code, I get the following message:

    One or more sections of your program fall into a memory region that is not writable. Check your linker configuration and/or memory map.

    I understand that this happens because the project is still using the F280013x linker command file (.cmd), so the memory addresses do not match the F28E120SC flash/RAM layout.

    Could you please help me with the correct way to update the memory map so that the same project can be built for the F28E120SC?

    Specifically, I need guidance on:

    1. Which F28E120SC linker command file (.cmd) I should use

    2. Where this file is located inside C2000Ware

    3. Which F280013x .cmd files I should remove from my project

    4. Any other device-specific files (startup, headers, libraries) that must be replaced when porting from F280013x → F28E120SC

    My goal is to use the same project structure but replace only the device-specific memory mapping so the program can run and flash correctly on the F28E120SC.

    Thank you for your support.

  • Hi Abhishek,

    Please refer to this user guide to know how to migrate between TMS320F280013x and F28E12x: https://www.ti.com/lit/ug/spruje9/spruje9.pdf