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.

graph of data wrong

Other Parts Discussed in Thread: DRV8301, TMS570LS3137, MOTORWARE

Hi,

About the DRV8301_TMS570LS31_BLDC example.

It seems the data in the graph is not correct. There are some discontinuities in the displayed graph sometimes.

Especially if the prescalar is set to values below 5. I believe it comes from the transmission of the data over usb from the controller to the computer.

And the different graphs do not fit together, The voltage is not in sync with the flux.

So how is this graph-thing and the transmission exactly working? Where can i read about it? Can i make some adjustments, for example buffer size, Speed?

Where is the code? Is it in the InstaSPIN_BLDC.lib?

How can I get the data properly displayed?

Is this a known issue? 

My version is CCS 5.3. I cannot use newer versions as I was told. I have tried.

  • Hello,

    The two graphs are configured using the two separate "graph Property" files in the C:\ti\Hercules\MotorWare\v1.0.3.03\sw\solutions\instaspin_bldc\boards\drv8301kit_revD\hercules\tms570ls3137\projects\ccs5\project01 folder assuming that you installed MotorWare in the default folder.

    When you import these graph property files (one by one), you can view the settings. I am attaching the two graph property settings:

    As you can see these two graphs plot four different variables, which are memory locations (in CPU RAM). There are 255 samples displayed for each of these four variables, with a sampling rate of 1Hz. You can certainly change these configuration settings and observe the effect on the actual graphs plotted.

    The data between the MCU and the PC is transferred by the debugger making a JTAG access to the memory location to be plotted. There is an external USB-JTAG transceiver on the LS3137 control card.

    Hope this helps.