Solved

programing 8253 for pc

Posted on 1998-10-04
1
272 Views
Last Modified: 2012-06-21
i want to generate a accurate waveform in interrupt mode, timing about 1us, only i fear to handle timerchip. please give me programing solution.
0
Comment
Question by:ksairampatro
1 Comment
 
LVL 4

Accepted Solution

by:
jack_p50 earned 50 total points
ID: 1215727
Timer has 3 channels. Timer's interrupt is done by zero channel. Rate of timer interrupt
default is 18.2 Hz. This is calculated by 1.19 MHz/(zero channel counter). Default
counter=65536. To set rate to 50 Hz counter must be 1.19 MHz / 50 Hz = 23800=5CF8h
To program interrupt rate the controlling word must be in port 43h, and then you
need to write lower and then higher bytes in port 40h for 0 channel or in port 42h
for 2 channel.(1 channel is used to regenerate dynamic memory, so it cannot be used)
The controlling word format is :
Bits: 0            count type(0-binary,1-binary-decimal)
     1-3            mode 0-5 (0 and 2 channels use mode 3)
     4-5            operation(0-read current value,1-read/write lower byte,2-read/write higher
                     byte,3-read/write both bytes)
     6-7           channel number (0-2) or 3 - back reading
If you have questions, mail me (jack_p50@usa.net) or better contact through ICQ (number 17635851)
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now