|
|
|
![]() |
|
|||||||
|
||||||||
| View Poll Results: What On Chip Peripherals do you use? | |||
| UART(serial) |
|
19 | 61.29% |
| (E)CCPs |
|
9 | 29.03% |
| ADCs |
|
25 | 80.65% |
| External Interrupts(PORTB) |
|
21 | 67.74% |
| Timers (TMRx) |
|
21 | 67.74% |
| Other |
|
6 | 19.35% |
| None |
|
3 | 9.68% |
| Multiple Choice Poll. Voters: 31. You may not vote on this poll | |||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
Re: Do you use on-chip peripherals?
Just the ones listed above...
We used an interesting combination of hardware this year on our traction motors... used TMR3 to feed CCP1,2, and 3. CCP1 provided a 100Hz cycle to clock our PWM/PID for the traction motor victors. In this 100Hz routine we sample both the analog encoders and do a state decode on them to figure which way they are going, and handle 5 to 0 and 0 to 5 volt transitions, as well as handling the PID... worked out great, got the timebase as well as the duty cycle time for both victors out of just TMR3.... which we never stop, set, or in any way touch... it just freeruns... now THAT gets my blood going! -q |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| If you have to use dial-up, don't use NetZero | JBotAlan | Chit-Chat | 7 | 18-12-2006 01:39 |
| which button machine do you use and do you like it? | KenWittlief | General Forum | 10 | 16-10-2003 00:01 |
| Gyro Chip: How To Use | archiver | 1999 | 3 | 23-06-2002 21:57 |
| Have YOU used the gyro chip? | FotoPlasma | Technical Discussion | 10 | 31-01-2002 13:26 |