[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] generate squares



dding wrote:
> 
>     I want to generate squares from parallel in the highest frequency and
> stable needed. pthread_create() and pthread_make_periodic_np() only give me
> the stable square wave about 30k HZ . I need 120k HZ or more.
> 
>     I think I can use rtl_request_irq() to register a timer handler and use
> rtl_hard_enable_irq() to enable it! but I don't know how to do it in detail
> ! Who can help me ? Thanks a lot!
> 
>             dding
> 
As John and others have said you are into Hardware here.
Take a look at some PIC stuff.
http://www.ramseyelectronics.com
THey have one of the worst web sites I have seen...
Look for Pic-1 under test equipment
You should be able to get this sort of resolution with a fast PIC.

Good luck
  Phil Wilshire