Download Print this page

Holtek HT98R068 Manual page 15

Two-way radio mcu

Advertisement

Audio Processor IRQ
When an audio processing event occurs, the audio processor will use this signal as an
interrupt request, during which time the master should send an SPI signal to read the
20-bits of data, transmitting 100h as the first 12 bits of data with the last data
corresponding to the I/O CMD-23h, and then identify what kind of the interrupt it is. The
I/O CMD-22h is the interrupt mask select, and is used as an interrupt request. The main
interrupt source must be enabled (I/O CMD-22h[6]=1.) This application does not need to
use a polling method. Managing after the interrupt after generation is more MCU efficient.
The format description is as follows:
Event Interrupt Mask - 22h Address
Bit
Name
Event
IRQ SPI data
Polling I/O
Command 23h
Sub-tone Function
For open systems such as walkie-talkies, under conditions of limited frequency channels,
a sub-tone method can be used to increase the same frequency channel numbers and to
receive the required signals. Users at the receiving port should select the correct
sub-tone type and channel so as to decode the data properly and reduce unnecessary
signals, This will help to reduce the problems of mutual interference and reduced
frequency bands. The device provides two main stream sub-tone options described as
follows:
CTCSS Setting
This produces analog signals of sinusoidal frequency from 62.5Hz ~ 254.1Hz, and
contains 51 groups of standard channel selections which meet the relevant specifications.
An additional user-defined channel is provided to increase the flexibility of data protection.
The channel selection is shared by I/O CMD-2Bh and DCS. For the audio processor,
there are still two registers in which data changes should be noted when in use. In the Rx
mode, it is acceptable to use polling (I/O CMD-23h[3]) or interrupt(10008 I/O CMD-23h[3])
methods to detect whether it is the same as the setup channel. The table below provides
relevant table and design descriptions:
7
6
5
DTMF
IRQ
INT
Audio Processor IRQ Event Masking Control Register
VOX
DCS
10001
10004
h
h
01h
04h
IRQ & Polling Comparison Table
15
HT98R068 Two-way Radio MCU
4
3
2
Selectiv
CTCSS
DCS
e call
INT
INT
INT
CTCSS
Sel_Tone
10008
10010h
h
08h
10h
1
0
Off_Ton
VOX
e
INT
INT
DTMF
DCS turn
off_Tone
10020
10002h
h
20h
02h

Advertisement

loading