ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: PWM (Uploaded file ts7500_pwm)

To:
Subject: Re: [ts-7000] Re: PWM (Uploaded file ts7500_pwm)
From: Ferrug <>
Date: Sat, 27 Nov 2010 14:49:02 -0200


Hi Enrique,

Thank you again for your help..
I had sucess in do my two PWM work fine with double of resolution. Of course, with your big help.
Now, my problems are in the SPI communication. hehe
I will dedicate my efforts on it.
If you need anything in my power, be sure to ask. I'll be happy to help.

Best Regards
Fábio Luiz


2010/11/24 David Preza H <>
 

Fabio,
Thanks for the code. Sorry I haven't updated my advances. I think I have my 6 pwm code working properly now.
It use address 0X6A and 0X68. The first one to configure the PWM, the second one to inform about the configuration.
However, the way it works (because I need it that way), is sequentially, first the PWM1 is activated, then the PWM2, and so on. After PWM6, a bit is enable for a few moments, and it returns to PWM1.
You can control frequency, from 73khz, to 76khz approx. You can vary duty cicle from 0 to 100 ( I have tested 25, 50 and 75), and it will keep PWM on for 1 to 3 seconds.
I will upload all this code, maybe there's something useful.

About your code, you're working with a 50Khz frequency now, but I don't get exactly why your duty cicle isn't changing. Does it works with a 1000 resolution?

Regards,
Enrique




--
"Dê-me uma alavanca e um bom ponto de apoio que moverei o mundo." Archimedes


__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU