• 大小: 6.61MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-01
  • 语言: 其他
  • 标签: BK2423蓝牙  

资源简介

BK2423蓝牙技术文档,音频蓝牙的另外一种低成本芯片,很实用

资源截图

代码片段和文件信息

#include “bk2423.h“

UINT8 op_status;

//Bank1 register initialization value

//In the array Bank1_Reg0_13all[] the register value is the byte reversed!!!!!!!!!!!!!!!!!!!!!
code unsigned long Bank1_Reg0_13[]={       
0xE2014B40
0x00004BC0
0x028CFCD0
0x41390099
0x0B86BED9  //high sensitivity mode to enable normal sensitivity modeuse 0x0B869ED9
0xA67F0624  //RSSI measurement disabled to enable RSSI measurementuse 0xA67F0224
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00127305
0x36B48000
};

code UINT8 Bank1_Reg14[]=
{
0x410x100x040x820x200x080x080xF20x7D0xEF0xFF
};

//Bank0 register initialization value
code UINT8 Bank0_Reg[][2]={
{00x0F}
{10x3F}
{20x3F}
{30x03}
{40xff}
{50x17}
{60x0F} //0x0F or 0x2F:2Mbps; 0x07:1Mbps ; 0x27:250Kbps
{70x07}
{80x00}
{90x00}
{120xc3}
{130xc4}
{140xc5}
{150xc6}
{170x20}
{180x20}
{190x20}
{200x20}
{210x20}
{220x20}
{230x00}
{280x3F}
{290x07}
};


code UINT8 RX0_Address[]={0x150x590x230xC60x29};
code UINT8 RX1_Address[]={0x100x560x240xCD0x78};

///////////////////////////////////////////////////////////////////////////////
//                  SPI access                                               //
///////////////////////////////////////////////////////////////////////////////

/**************************************************         
Function: SPI_RW();                                         
                                                            
Description:                                                
Writes one UINT8 to BK2423 and return the UINT8 read 
/**************************************************/        
UINT8 SPI_RW(UINT8 value)                                    
{                                                           
UINT8 bit_ctr;
for(bit_ctr=0;bit_ctr<8;bit_ctr++)   // output 8-bit
{
if(value & 0x80)
{
MOSI=1;
}
else
{
MOSI=0;
}

value = (value << 1);           // shift next bit into MSB..
SCK = 1;                      // Set SCK high..
value |= MISO;          // capture current MISO bit
SCK = 0;               // ..then set SCK low again
}
return(value);              // return read UINT8
}                                                           
/**************************************************/        
                                                            
/**************************************************         
Function: SPI_Write_Reg();                                  
                                                            
Description:                                                
Writes value ‘value‘ to register ‘reg‘              
/**************************************************/        
void SPI_Write_Reg(UINT8 reg UINT8 value)                 
{
CSN = 0;                   // CSN low init SPI transaction

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-06-25 17:00  BK2423_DesignKit_v2.0\
     文件      689491  2011-05-31 17:25  BK2423_DesignKit_v2.0\BK2423 Application Notes v2.0_en.pdf
     文件      946076  2011-05-31 17:25  BK2423_DesignKit_v2.0\BK2423 Datasheet v2.0.pdf
     目录           0  2015-06-25 17:00  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\
     文件     1688359  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\BK2423 Hardware Reference Design v1.0.pdf
     文件       37391  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\BK24_2G4_Antenna_PROTEL99.LIB
     目录           0  2015-06-25 17:00  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Nano Dongle\
     文件       31765  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Nano Dongle\Gerber-BK2423_Nano_Dongle_V2.0.zip
     文件      163617  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Nano Dongle\PCB-BK2423_Nano_Dongle_V2.0.asc
     文件     1215577  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Nano Dongle\PCB-BK2423_Nano_Dongle_V2.0.pcb
     文件     2092032  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Nano Dongle\SCH-BK2423_NANO_DONGLE_V2.0.DSN
     文件       39344  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Nano Dongle\SCH-BK2423_NANO_DONGLE_V2.0.pdf
     目录           0  2015-06-25 17:00  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Normal Module\
     文件       42412  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Normal Module\BK2423_Normal Module_V2.pdf
     文件       33360  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Normal Module\Gerber-BK2423_NORMAL_MODULE_V2.0.zip
     文件      241743  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Normal Module\PCB-BK2423_NORMAL_MODULE_V2.0.asc
     文件     1259294  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Normal Module\PCB-BK2423_NORMAL_MODULE_V2.0.pcb
     文件     2147328  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Hardware Reference Design\Normal Module\SCH-BK2423_NORMAL_MODULE_V2.0.DSN
     目录           0  2015-06-25 17:00  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\
     目录           0  2015-06-25 17:00  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Evaluation software\
     文件     2998361  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Evaluation software\Beken Bk24 USB_For_Customer_V5.1.4.exe
     文件      780921  2011-05-31 14:12  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Evaluation software\BK2423 Demo Board User Guide V1.0.pdf
     文件       11080  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Evaluation software\config_analog.ini
     文件       10734  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Evaluation software\config_fsk.ini
     目录           0  2015-06-25 17:00  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Reference Code\
     文件      563826  2011-05-31 14:43  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Reference Code\BK2423 Programming Guide v1.0.pdf
     文件      524598  2011-05-31 14:48  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Reference Code\BK2423 Programming Guide v2.0_en.pdf
     文件       11124  2011-05-31 14:30  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Reference Code\BK2423.c.c
     文件        4289  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Reference Code\bk2423.h
     文件        1666  2011-05-31 14:08  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Reference Code\BK2423_TxRx.c
     文件        8297  2011-05-31 14:40  BK2423_DesignKit_v2.0\BK2423 Software Reference Design\Reference Code\Test_Func.c
............此处省略2个文件信息

评论

共有 条评论

相关资源