RX-VS1063A-RF231
所属分类:单片机开发
开发工具:C/C++
文件大小:465KB
下载次数:8
上传日期:2014-04-04 12:51:45
上 传 者:
mdli286jp
说明: RF芯片 RF231 2.4HGZ 音频芯片 VS1063A 用作 Mp3的无线接收
transmitter
(RF芯片 RF231 2.4HGZ 音频芯片 VS1063A 用作 Mp3的无线接收
Reciver)
文件列表:
RX-VS1063A-RF231\DCII2S_Interface.mcp (1659, 2014-04-01)
RX-VS1063A-RF231\DCII2S_Interface.mcw (94720, 2014-03-20)
RX-VS1063A-RF231\DCII2S_Interface.mptags (14991, 2007-05-10)
RX-VS1063A-RF231\DCII2S_Interface.tagsrc (275, 2007-05-10)
RX-VS1063A-RF231\h\at86rf231.h (5766, 2014-04-01)
RX-VS1063A-RF231\h\tglPin.h (1819, 2006-03-27)
RX-VS1063A-RF231\hex\DCII2S_Interface.cof (1129067, 2014-04-01)
RX-VS1063A-RF231\hex\DCII2S_Interface.hex (181112, 2014-04-01)
RX-VS1063A-RF231\hex\DCII2S_Interface.map (146017, 2014-04-01)
RX-VS1063A-RF231\hex\MP3-RX-N(0,5,10,15).hex (181014, 2014-04-01)
RX-VS1063A-RF231\hex\MP3-RX-N(2,6,9,13).hex (181014, 2014-03-21)
RX-VS1063A-RF231\src\at86rf231.c (18122, 2014-04-01)
RX-VS1063A-RF231\src\main.c (13968, 2014-04-01)
RX-VS1063A-RF231\src\MusicDataMP3.c (83122, 2013-12-05)
RX-VS1063A-RF231\src\obj\at86rf231.o (259645, 2014-04-01)
RX-VS1063A-RF231\src\obj\main.o (257758, 2014-04-01)
RX-VS1063A-RF231\src\obj\tglPin.o (30458, 2014-04-01)
RX-VS1063A-RF231\src\obj\traps.o (244780, 2014-04-01)
RX-VS1063A-RF231\src\obj\vs1003.o (323558, 2014-04-01)
RX-VS1063A-RF231\src\tglPin.s (2104, 2007-04-05)
RX-VS1063A-RF231\src\traps.c (4843, 2013-11-27)
RX-VS1063A-RF231\src\vs1003.c (81804, 2014-03-06)
RX-VS1063A-RF231\src\vs1003.h (5170, 2014-03-06)
RX-VS1063A-RF231\src\vs1063a-patches.plg (46776, 2013-10-03)
RX-VS1063A-RF231\src\hex (0, 2014-04-01)
RX-VS1063A-RF231\src\obj (0, 2014-04-01)
RX-VS1063A-RF231\h (0, 2014-04-01)
RX-VS1063A-RF231\hex (0, 2014-04-01)
RX-VS1063A-RF231\src (0, 2014-04-01)
RX-VS1063A-RF231 (0, 2014-04-01)
Readme File for Code Example:
CE113 - Configuring the Data Converter Interface for I2S master
mode operation to interface with 48KHz 24-bit Stereo Codecs
-----------------------------------------------------------
This file contains the following sections:
1. Code Example Description
2. Folder Contents
3. Suggested Development Resources
4. configuring the project for a different dsPIC33F device
5. Revision History
1. Code Example Description:
----------------------------
The dsPIC Digital Signal Controllers feature a Data Converter Interface (DCI or Codec Interface) peripheral module on-chip.
This module is useful to interface the dsPIC with high-resolution codecs, A/D and D/A converters that stream data into the
dsPIC or out from the dsPIC device.
The attached code example has file named i2SDrv.c. This file contains functions to intialize the DCI peripheral and
DMA channels as well as Interrupt handlers for the Dma channels.DMACH0 is configured totransfer data from DMARAM address to
to peripheral address.DMACH1 is configured to transfer data from peripheral address to DMARAM address in Continuous Ping-Pong
modes.The DCI module is set up for Master mode of operation in which it provides the Frame Sync signal on the COFS pin,as well
as the bit clock on the CSCK pin.The DCI module is initialized for interfaceing to a ****Fs I2S Codec.The frame sync signal has
a frequency of 48KHz,while the bit clock has a frequency of ****48000=3MHz, as shown below:
FIGURE 1
_______________________________
| | |
COFS: | |_______________________________|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
CSCK:_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_|
|<--------Left Channel Data---->|<----Right Channel Data------->|
|<---------32 bits------------->|<---------32 bits------------->|
|<---TXBUF0---->|<----TXBUF1--->|<---TXBUF2---->|<----TXBUF3--->|
|<---RXBUF0---->|<----RXBUF1--->|<---RXBUF2---->|<----RXBUF3--->|
|<--TimeSlot0-->|<--TimeSlot1-->|<--TimeSlot0-->|<--TimeSlot1-->|
|<--------------------1/Fs = 20.8 microseconds----------------->|
The code in the main function calls the initialization routine for the DCI and DMA module and then waits in a while(1) loop.
From this point on the DCI interrupts transmit data out on the CSDO pin and read data in from the CSDI pin.
2. Folder Contents:
-------------------
This folder contains the following sub-folders:
a. C:\Program Files\Microchip\MPLAB C30\support\gld
This folder will have the device GLD file, it is used for building the project.
This file was provided with the MPLAB C30 v2.02 toolsuite.
b. C:\Program Files\Microchip\MPLAB C30\support\h
This folder contains C header files useful in building this
project. Device register and bit definitions are provided in
the *.h file that follows the device name. These files were provided
with the MPLAB C30 v2.02 toolsuite.
c. C:\Program Files\Microchip\MPLAB C30\lib
This folder contains library archive files, which are a
collection of precompiled object files. The file
named "libpic30-coff.a" contains the C run-time start-up
library. These file were provided with the
MPLAB C30 v2.02 toolsuite.
d. hex
This folder contains three file types - coff, hex and map.
These are files generated by the MPLAB C30 toolsuite on build
operation performed within MPLAB IDE. The *.map file contains
details on memory allocation for various variables, constants
and dsPIC instructions specified in the source and library
code. The *.hex file contains a binary file that may be
programmed into the dsPIC device. The *.coff file contains
a binary file that is used by MPLAB IDE for simulation.
e. h
This folder contains include files for the code example.
f. src
This folder contains all the C and Assembler source files (*.c,
*.s) used in demonstrating the described example. This folder
also contains a sub-folder named "obj" that stores compiled
object files generated when the project is built.
3. Suggested Development Resources:
-----------------------------------
a. MPLAB IDE v7.31.01 or later
b. MPLAB C30 v2.02 or later
c. MPLAB ICD 2 R23 or later
e. Explorer 16 Demo board with dsPIC33FJ256GP710 controller
4. Reconfiguring the project for a different dsPIC33F device:
-------------------------------------------------------------
The Project/Workspace can be easily reconfigured for any dsPIC33F device.
Please use the following general guidelines:
a. Change device selection within MPLAB IDE to a dsPIC33F device of
your choice by using the following menu option:
MPLAB IDE>>Configure>>Select Device
b. Provide the correct device linker script and header file for your
device. Device linker scripts and header files are available in your
MPLAB C30 installation folder under:
Device Linker Script-
YourDrive:>Program Files\Microchip\MPLAB C30\support\gld
Device C Header file-
YourDrive:>Program Files\Microchip\MPLAB C30\support\h
Device ASM Include file-
YourDrive:>Program Files\Microchip\MPLAB C30\support\inc
c. Provide the appropriate path to your MPLAB C30 support file locations
using the menu option:
MPLAB IDE>>Project>>Build Options>>Project
d. Chose the development board applicable to your device. Some options
are provided below:
e. Re-build the MPLAB project using the menu option:
MPLAB IDE>>Project>>Build All
f. Download the hex file into the device and run.
5. Revision History :
---------------------
04/01/2006 - Initial Release of the Code Example
近期下载者:
相关文件:
收藏者: