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.

InstaSPIN_BLDC code vs InstaSPIN_BLDC Sensorless Control.pdf

Other Parts Discussed in Thread: DRV8301

I am trying to run the InstaSPIN BLDC Code, is there an updated PDF Guide to this? The PDF Guide I am referring is version 1.0 and released on Aug 2011.

The PDF guide to running the 8 different build levels of InstaSPIN BLDC Code (BLDC_Int.c) doesn't match what in the code is. For example, the graphs on LEVEL 1. According to the code graphs 2-4 are the Vag, Vbg and Vcg. 

The PDF guide  (page 12) also has PWM signals, different to what i see on my scope. (I am still on the point of trying to understand the code). Probing PWM1A and PWM1B with a scope shows differently (see oscilloscope plot below). Or am i probing on the wrong spot? The PDF document just say PWM1,2,5 and 6 (page 12 of PDF guide) which again is different on the block diagram on page 13.

Also, is there a way to probe the ADC B7, A7 and B4 of TMS320 microcontroller on the DRV8312-C2 Kit EVM? I don't see it on the J5 probing pins.

I'd appreciate the help I can get.

  • the documentation you have is latest and it is correct.
    Figure 5 shows the counter, BemfA, BemfB, BemfC which corresponds to the code
    DlogCh1 = (int16)mod_dir1.Counter;
    DlogCh2 = _IQtoQ15(InstaSPIN_BLDC1.Vag);
    DlogCh3 = _IQtoQ15(InstaSPIN_BLDC1.Vbg);
    DlogCh4 = _IQtoQ15(InstaSPIN_BLDC1.Vcg);

    for the PWM, I agree that Figure 6 labeling doesn't really make sense...PWM 5 and 6 aren't even used. I think this was simply copied from the DRV8301 EVM project documentation. They were done at the same time.

    Your graphic looks normal for what you are capturing. You can see the 6 states.


    J5 has many of the signals going to the controlCARD. You can probe off of the correct ones that you are looking for.