TI E2E Community
MSP430 Ultra-Low Power 16-bit Microcontroller Forum
pwm whit timer 0
buena tardeEstoy tratando de usar el timer A0 con el msp430f5438a para generar un pwm por las salidas P1.2,3,4,5.He seguido los ejemplos en los que se utiliza el timer A1 y B, pero no he conseguido hacerlo funcionar.Podrian indicarme si se puede hacer y como seria.
good afternoon I'm trying to use the timer A0 whit msp430f5438a to to generate a PWM outputs for P1.2, 3,4,5. I followed the examples that use the timer A1 and B, but I have not gotten it to work. They could tell me if you can do and how serious.
I'm not sure that you posted your question in the right place. Is your query in regards to a particular/specific data converter or are you asking about the on-board data converter/pwm timer of the MSP430? Let us know and we'll help get you to the right forum.
quiero controlar los sentidos de giros y su velocidad de dos motores por medio de un l293dd utilizando los terminales antes enunciados, pero en la actualida no hay ejemplos o temas al respecto.
I controlling the senses of turns and the speed of two motors by means of a l293dd using terminals set out above, but in no examples or actualida threads thereon.
Threre are many threads about PWM generation already in the forum.
However, P1.2/3/4/5 are the output pins for TimerA0. TimerA1 outputs are on P2.2/3.
Besides translating the TA1xxx registers into TA0xxx, you also have to configure the port pins, which means changing the P2SEL and P2DIR instructions to the respective configuraitons on P1SEL an P1DIR.
If this isn't the problem, you should paste your code here.
_____________________________________Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.