欢迎访问ic37.com |
会员登录 免费注册
发布采购

AN2961 参数 Datasheet PDF下载

AN2961图片预览
型号: AN2961
PDF下载: 下载PDF文件 查看货源
内容描述: []
分类和应用:
文件页数/大小: 50 页 / 706 K
品牌: FREESCALE [ Freescale ]
 浏览型号AN2961的Datasheet PDF文件第1页浏览型号AN2961的Datasheet PDF文件第2页浏览型号AN2961的Datasheet PDF文件第3页浏览型号AN2961的Datasheet PDF文件第5页浏览型号AN2961的Datasheet PDF文件第6页浏览型号AN2961的Datasheet PDF文件第7页浏览型号AN2961的Datasheet PDF文件第8页浏览型号AN2961的Datasheet PDF文件第9页  
Message Encoding  
Individual bits are encoded by the driver using Manchester encoding. Sending a single bit with Manchester  
encoding requires that the value be sent during the first half bit-time and its complement sent during the  
second half bit-time. For example:  
1 Æ ¯¯|__  
0 Æ __|¯¯  
The pulse-width modulation (PWM) mode of the MCU’s timer module is used to produce this waveform:  
Set the timer modulus to the pulse width (this depends on the data rate)  
Set the output compare value to 0.5 modulus (50% duty cycle)  
An interrupt occurs at output compare and we can set up for the next bit at this point.  
The actual set up to send a single bit differs only slightly. The difference is to set high-true pulses or  
low-true pulses for a 1 or a 0, respectively.  
NOTE  
The driver requires close control of the timer channel it is using, along with  
the associated timer channel interrupt vector and pin. It also requires control  
of the timer modulus to set it up for a single bit-time. However, after it is set,  
the modulus is not modified further and can be used reliably on another  
timer channel. The driver can be configured via the header file #define  
ECHO_TIMER_DISABLEto leave the timer turned on even when the driver is not  
using it.  
When the Manchester encoded bit-stream is presented to Echo, it is modulated onto the carrier using on-off  
keying (OOK) or frequency shift keying (FSK) for RF transmission.  
Upon reception, Echo demodulates the RF signal and the data manager then removes the Manchester  
encoding, reducing the processing required on the MCU.  
Figure 2 shows the sequence of events in an application where a message transmission is triggered by  
pressing a switch on one board, resulting in a LED flashing on another board.  
Software Drivers for MC33696, Rev. 1  
4
Freescale Semiconductor  
 复制成功!