Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE, DRV8301
Hi all I have a very short question,
how do I access the individual bits in the registers with the point and with EPwm1Regs.
I will return error saying EPwm1Regs undefined
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.
Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE, DRV8301
Hi all I have a very short question,
how do I access the individual bits in the registers with the point and with EPwm1Regs.
I will return error saying EPwm1Regs undefined
and the answer to the question where to find it, is not that you have been much help I still have the same problems as before.
I looked inside the file c you suggested but I know as before
As you might also know that CCS supports auto-complete feature wherein when you can access/configure registers under ePWM or other peripherals... This is how its done:
If you're unable to use this feature then... you're project headers are incorrect and hence as mentioned in my previous post, "Please import the project mentioned above to CCS and try"
Also, the way you're configuring the peripheral is different and hence refer & follow the structure available in example codes.
Regards,
Gautam
good morning,
I explain my situation so I get the best tips.
I have a starter kit with drv8301 f28069 card.
Now I'm starting to use the mirco texas before I used the competition, I would like to create a project of my own, but I can not to set the various parameters and to include header link to etc.
there is a step by step guide that explains how to do well explained by one starting from scratch?
at this time to the problem described above chart using the project I'm one of motorware instant foc, to be clear what it does simply flashing the led on this and I wanted to put my code for PWM.
I looked into the project in control suite
I went to look at the files in the folder, but there are too many I would like to insert only those absolutely necessary and not all.
the second question how do i recognize the header files to my seasons I have to put them in the project folder of the LED blinking (this I did), but then in ccs tells me that there are not, where can I find a procedure described in step step, because I do not want you to spend time with my little problems, but I would love to learn how to use this micro which to me is quite new.
thanks to all
Hello Andrea,
andrea canestrari said:I have a starter kit with drv8301 f28069 card.
First of all, please confirm that you have F28069F/M, not F28069 (without F or M).
andrea canestrari said:there is a step by step guide that explains how to do well explained by one starting from scratch?
If you want to modify Motorware code, I recommend you to read the document mentioned in this thread
instead of learning to put your own code from scratch without knowing what Motorware code structure is.
andrea canestrari said:on this and I wanted to put my code for PWM.
I looked into the project in control suite
Please see and follow chapter 6.2 of the document in that thread above.
I hope after read and follow this chapter you will get insight how to put PWM code in Motorware instead of following ControlSuite PWM example code that has different structure.
andrea canestrari said:but I would love to learn how to use this micro which to me is quite new.
This is different problem.
Motorware template is not for first learning, at least for me. FYI, my very first TI's MCU was F28069M, with its controlcard, also for Motor project.
Please use examples in ControlSuite to learn about this MCU. Try to understand how to program the peripheral that you need (for example: PWM) and after you understand it, you can jump to Motorware and search its APIs (\motorware\motorware_1_01_00_14\sw\drivers) and compare them with registers that used by ControlSuite examples.
If you don't really understand about APIs, learn the existing PWM setting in Motorware so you can know where and how to put and call the PWM APIs in Motorware.
Hope you will have not much difficulties to learn this MCU.
And your question is welcomed in this forum.
Good luck!
Best regards,
Maria