??? 10/20/08 20:49 Read: times |
#159225 - OLD chip Responding to: ???'s previous message |
Gladwin,
That's a terribly old chip ! Takes me back - I used to use a lot of them. See the manual here http://www.keil.com/dd/docs/d...515_um.pdf READ pages 82 onward - everything you need is there. From old memories, Set CRCL and CRCH to the reload value for the PWM rate you want. Set Timer 2 to autoreload, saves you doing anything in code. Set compare mode to 0. Set CCHn and CCLn to whatever your PWM signal requires Set TR2. ...and it all happens. Steve |
Topic | Author | Date |
Cap/Com | 01/01/70 00:00 | |
cap/com | 01/01/70 00:00 | |
What have you tried ? | 01/01/70 00:00 | |
cap/com | 01/01/70 00:00 | |
Where to start | 01/01/70 00:00 | |
OLD chip | 01/01/70 00:00 | |
explain us what setup cap/com | 01/01/70 00:00 | |
CCU | 01/01/70 00:00 | |
CCU/PWM already at 80C535![]() | 01/01/70 00:00 |