Part Number: DRV8301-69M-KIT
Other Parts Discussed in Thread: MOTORWARE
Tool/software: Code Composer Studio
I have a DRV8301-69M-KIT, and I am trying to work through the InstaSPIN Projects and Labs. I am new to CCS and this hardware. I am having two problems with the data logging feature in Lab 1b. The first is that the signals from the data logger are not being properly displayed in the graph windows, as can be seen in the following plot of the angle gen signal (it jumps all around and does not consistently look like this):
It seems to be a display or buffering issue rather than an issue with the actual signals. They look as expected (mostly) when I probe them with my scope. I read on one of the E2E forum questions that one-shot capture was recommended, and I have tried setting datalog.Flag_EnableLogOneShot = true in proj_lab01b.c, but I have not been successful in getting that to work.
The second issue I am having is that the DAC gains and offsets I set in hal.c do not seem to have any effect on the DAC output signals, neither those displayed in the graphs from the data logger nor those I probe with my scope. As far as I can tell, that code is executing, and the offsets and gains appear to be getting set, but I have no control over the actual offset of the signals, and the angle generator signal is always saturating high when I look at it on my scope.
I would appreciated any guidance that can help me keep progressing through these labs.
Thank you,
Kyle
