Other Parts Discussed in Thread: MSP430F5529, , DRV8304
Tool/software: Code Composer Studio
I am new to this particular tool, but have some experience with other Compilers and embedded controls.
Several questions that need answering. I will number them in this message.
Using the following stuff:
BOOSTXL-DRV8304H with MSP430F5529
CCS 6.2.0 and BOOSTXL-DRV8304x EVM GUI with MSP430 compiler version 16.9.11 (also gate 9.3.something a try also)
DRV8304_MSP430F5529_Trapezoidal_Sensorless_BLDC software
DRV8304_MSP430F5529_Trapezoidal_Sensored_BLDC software
NOTE: I followed the instructions in BOOSTXL-DRV8304H EVM User's Guide to the tee (they do not work as is)
NOTE: I have not tuned/modified any of the original software files like the manual explains to do. I don't want to waste my time until I see some life of some sort in the hardware/software combo.
Some basic questions
1) what is the difference between compiling the code in active-release and active-debug mode? I am thinking that to run the software stand-alone, without the debugger, I need to compile active-release...
note: I imported the two software projects into the workspace once I got CCS 6.2.0 set up with the right compiler.
2) CCS 6.2.0 compiles active-debug, gets all the way to the end, and chokes because the output file is too large... Why? Can I fix this?
3) CCS does not compile active-release, because many of the include .h files cannot be accessed to open. Why? it is because the pathnames are not known by CSS. Can I easily fix this?
this is very strange - it compiles same code only in active-debug, not active-release...
4) Do I have to run these two software from the GUI environment? is it not possible to download a stand-alone(release) compilation to the 5529 and run without the gui? (It ought to be possible...)
5) The instructions seem to indicate that I can run the software without the GUI. Is this true? What does the software do when it runs without the GUI? can I adjust the speed?
6) How does the GUI know what to download to the 5529? Or, do I have to download the compiled code to the 5529 before running the GUI?
7) When I run the GUI, there is a fault blinking in the upper right. It says "voltage" fault. My power supply is max 30V. What is this fault and how do I fix it? The tuning page says max voltage = 40...
8) The GUI indicates the 5529 is connected, but I cannot find the register page and some of the other pages listed in the user manual - I can only find the screen that runs and tunes the motor. Why?
9) I was able to download CCS 9.3.x and compile the software in active-debug mode, and download it to the 5529, but when I run it with everything connected, nothing happens. the environment simply says "running". Why does 9.3.x not have a size restriction on the output file, but 6.2.0 (the intended CCS) have a size restriction.
10) Is it possible that the initial code is set up for DRV8304S (spi) and not H ? Could this explain why nothing happens when I download the debug code?
Actually I am thinking the downloaded code won't start doing anything without the GUI, because the GUI has switch to "enable" something.
I am very perplexed by all this. If someone could get me going with these software programs, I would be most appreciative...
I looked in the forum and I see at least one person got it going. I am jealous...