Frequency Shift Keying Virtual Peripheral for Telephony applications. This routine provides a 1200 baud, Phase-coherent FSK generation with minimal external circuitry.
By combining several virtual peripherals, is possible to provide reception and transmission of asynchronous 1200 bps data using Frequency Shift Keying (FSK) signaling. The resulting software will have uses in a wide range of telephone based information systems.
This application combines PWM, 16-bit timer, and UART virtual peripherals and with a sine lookup table to generate 1200 bps FSK transmission. The UART is used to interface to a PC terminal session at 19.2 Kbps. Any data received by the UART software is sent to the FSK_send routine for transmission. FSK_send first enables the PWM output and external DAA output circuitry and begins to send a 1200 Hz start bit for a duration of 1.5 bits (1250uS). For data transmission a frequency of 1200 Hz represents the mark and 2200 Hz represents a space. This is immediately followed by the data byte and a stop bit at 2200 Hz. All frequency shifts are phase coherent.
This virtual peripheral relies on an external RC filter to generate the FSK frequencies. A low pass filter is required on the PWM output to create the analog signal as shown in the circuit in figure 1.
The transmission method used is not compliant to any specification. Future revisions will be available to provide compliance to the Bell 202 specification and also to provide FSK demodulation.
Additionally, before this circuit can be connected to any telephone system an appropriate DAA circuit is also required. As seen in the source code, bit three of port A is used to enable the DAA output.
file: /Techref/scenix/lib/io/osi1/dfs/fsks.htm, 2KB, , updated: 2001/10/27 13:20, local time: 2024/11/30 04:05,
18.188.227.64:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/scenix/lib/io/osi1/dfs/fsks.htm"> SX Specific FSK Output</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.