Search found 2 matches
- Tue Dec 28, 2010 3:30 pm
- Forum: Beginning OS Development
- Topic: PIT frequency problem
- Replies: 5
- Views: 26361
Re: PIT frequency problem
Thanks for your replays. But also if i set a frequency of 1000 Hz, the counter will only count with about 100 counts/sec. The method I use is the demo code of tutorial 16: //! starts a counter void i86_pit_start_counter (uint32_t freq, uint8_t counter, uint8_t mode) { if (freq==0) return; uint16_t d...
- Tue Dec 28, 2010 12:50 am
- Forum: Beginning OS Development
- Topic: PIT frequency problem
- Replies: 5
- Views: 26361
PIT frequency problem
Hi everyone, I am following the tutorials and they are very nice. Currently I am busy with nr. 16 about the PIC and the PIT. The problem i encounter is that tick counter won't run with the frequency i want. in the demo, if I change te folowing line: i86_pit_start_counter (100,I86_PIT_OCW_COUNTER_0, ...