ts-7000
[Top] [All Lists]

Re: [ts-7000] PWM

To:
Subject: Re: [ts-7000] PWM
From: Ferrug <>
Date: Thu, 11 Nov 2010 22:28:40 -0200


Wow, thx dude.
It was exactly what I needed .. sorry did not reply before because I had not seen this email.

But very cool, thanks a lot. I'm here testing to see if I can make it work.
Could you tell me how do I access the registers from a C code running on Linux? for example, often need to update i_duty.

Thanks again ..
Fabio


2010/11/7 David Preza H <>
 
[Attachment(s) from David Preza H included below]

Right now I am working in some code to control 6 pwm, so I can move some TULA (piezoelectric actuators) with the TS7500. The code is still in work, but I will attach a verilog file to generate a PWM based on a clk, number of ticks to generate the frequency, and numbers of ticks to get the duty cicle. The i_enable needs to be high in order to actually produce an output.

I am still working in the interaction with the Wishbone and the Lattice FPGA on the TS7500. However, I think you can override the functionality of some pins, if you create new output pads, with the output of the code, and when you map which one goes to which pad, you can just detach the pins you don't use (I did it for pin 40, and the test was successful). However, don't forget to keep the other pads and pins in their place.

I am not a hardware designer, neither a verilog expert, but I hope the code helps you. I think the next weekend I will finish the wishbone interaction part.

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