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.
Hola Juan,
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.
Regards,
Tom
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.