Hi,
I use the chip is 16 f877a, crystals is 19.6608 Mhz.
I want to use interrupts produce 500 KHZ square wave signals, but interrupt the maximum frequency of 19200 hz (1:1). How should I do? Help me, thank you
How to produce 500 KHZ square wave signals?
Moderator: Benj
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: How to produce 500 KHZ square wave signals?
Hello
Use a 20MHz crystal.
PWM is used.
9 = the value of the Period register, duty cycle = 4 or 5
Use a 20MHz crystal.
PWM is used.
9 = the value of the Period register, duty cycle = 4 or 5
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: How to produce 500 KHZ square wave signals?
H Stibor!
Waov, what an experience just to be able to come up with this idea .
The links you have attached, is this some of your projects?? If, great work
I still have loooong way
Best regard
Jorgen
Waov, what an experience just to be able to come up with this idea .
The links you have attached, is this some of your projects?? If, great work
I still have loooong way
Best regard
Jorgen