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: Jonatan Olofsson <>
Date: Tue, 7 Dec 2010 01:38:31 +0100


Hi,

I'd like to thank you for doing work on this matter. I too have interest in using pwm from the TS-7500. I havn't done very much fpga
before (and only VHDL, no Verilog), but I've read the generador_pwm and it seems quite clear to me (after I understood the variable names =) ), and i think i understand most of the important parts in syscon.v

Now, i have a few questions that i do not quite understand yet
1) How does the connection to the linux-available registers work? I could not find any of it in the code..
2) How do you interface multiple PWM's from the registers? I think there was a notice on it in the thread, but i did not quite understand fully..

Also, and i must beg your pardon for asking such a seemingly trivial question, how do you compile it? I suppose I replace the syscon.v file in the opencore's source, add the generador_pwm file and then..... something more =). Then even more something to get write it to the fpga.

It would be really nice to see an implementation and documentation on this. I would be more than willing to compile such a how-to if I could get the help to get it working. I've seen several sources online watching this thread with anticipation, so I know it would be appreciated.

Best regards
Jonatan Olofsson

On Sat, Nov 27, 2010 at 17:49, Ferrug <> wrote:
 

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