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.

TMS320F28379S: C2000 Position Manager SinCos Library compatibility with 16-bit Differential ADC mode

Part Number: TMS320F28379S
Other Parts Discussed in Thread: CONTROLSUITE

From SPRUI54

Under Section 1.3.1 Hardware Interface and Connections: 

"Note that version 1.0 of the library expects the ADCs to be configured in 12-bit mode."

What implications does this have for compatibility with 16-bit Differential mode? Are there configuration options, workarounds, or updates? 

  • Version 1.0 of the library is supplied in object format.  There is a #define in the file "PM_sincos_lib.h" which allows the user to select ADC mode, but the library would have to be re-built to take advantage of it.  The user's guide phrases it this way because the code has not yet been tested in 16-bit mode.

    An update to the sincos library is due in the next controlSUITE release in either December or January.  That release will include source code, so users will be able to configure and modify the library freely.  I regret there is no way to configure the existing sincos library into 16-bit mode.

    Regards,

    Richard

  • Responses to additional questions not submitted through the forum:

    1. Table below shows our pinout for the SinCos inputs with ADC module in 16-bit mode. Please verify that these inputs are valid for use with SinCos.

    - The connections look OK, but COMP 2 & 3 outputs will also have to go to QEP3 A & B respectively.

    2. Can we get a more confident estimate of the next ControlSuite release and a forecast of the SinCos library changes?

    - The information in the earlier post is all that is known at the present time. The only expected change will be the release of the source code, however there is some testing going on which may result in minor code changes.

    3. Is TI planning to fully support the feature in 16-bit ADC mode, including testing/validation/example of the 16-bit implementation?

    - There are no plans to do so at present, however the release of source code will enable users to modify and test the solution themselves. The code was written with 16-bit computation #defined so minimal changes should necessary, however as I said it has not been tested.

    Regards,

    Richard
  • "Does this mean we need to actually physically on the PCB externally route the comparator outputs to the QEP inputs (such as the actual DSP pins for GPIO15 to GPIO54) ?? Or is this routable internally in the DSP with the xbar?"

    Yes, you will have to make these connections via external pins. The CMPSS block comes through the output XBAR to GPIO, which should then be hardwired into the GP input pins selected for QEP3: GPIO 6 & 7 for example.

    Please could you post any further questions on this topic to the forum. Thanks.

    Regards,

    Richard