Other Parts Discussed in Thread: BOOSTXL-DRV8301, DRV8312, MOTORWARE, CONTROLSUITE, INSTASPINUNIVERSALGUI
Tool/software: Code Composer Studio
I have a LAUNCHXL-F28069M / BOOSTXL-DRV8301 and a motor.
I'm going through the labs following the InstaSPIN Projects and Labs User Guide ver 1.0.16. I'm finding it hard to follow along.
On page 28 we start setting up Lab 1b, Step 2a. On page 30 I see an oscilloscope screen shot showing wave forms. I presume (but am never told) that I should be able to replicate those waveforms.
On page 28 I'm told (in a sentence that is barely recognizable as English) that the output will appear on PMWxA and PMWxB pins. It would have been nice here to be directed to the LAUNCHXL-F28069M User Guide in order to find the location of those pins, if in fact that's the right thing to do. It took me some time to find that. I also found that the x in PMWxA runs from 1 to 6, and they occupy pins 35-40 and 75-80, assuming the pins have been set to the correct MUX value. I'm not told which of those to check, so I'm checking them all.
Question: Which pins on the LAUNCHPADXL-F28069M should I probe with my oscilloscope?
Question: Should the waveforms also appear at the phase voltage terminals for the motor (BOOSTXL-DRV8301 J11 A, B, and C) ?
On page 29 there are some software settings to check. I made those, and rebuilt. At the bottom of page 29 are three lines, the first starts "Ch-1 -> PMWDAC1: SVGEN output ..."
Question: What are those three lines trying to tell me? I can't find any reference to PMWDAC1 or SVGEN. Is that something that is relevent for the DRV8312, and not for the 8301?
On page 30 is the wave form. I presume, but are never told, that I should debug the program now, and that I should see this waveform. But if I do that, I do not see any waveform on any pin, and nothing on the phase voltage terminals. (BOOSTXL-DRV8301 J11 A, B, and C). LED D9 is blinking.
Question: Should I be seeing a wave form on my oscilloscope at this point? If so, which pins?
I continue with the next parts, Step 2b and DATALOG. Nothing to be seen on the 'scope, and ... questions about DATALOG will have to wait.
On page 37 is a section "Lab Procedure".
Question: How is this different from Steps 2a and 2b?
I can't make progress here, however. I'm asked to open proj_lab01b.js, but I cannot find that file in my motorware directory.
Any general advice on getting started with these labs is appreciated.
Thanks.