Banana Pi BPI-G1 Скачать руководство пользователя страница 49

5.  Click on the icon to download the program debug button on the device and enter debug mode. Figure 

6.  Click Debug Step Out button on the column, enter the full speed 

7.  If there is no problem, a G1 should be is a good writer. Up and running in the following figure 

Quick start of TI CC2530

49

Содержание BPI-G1

Страница 1: ...d Module interconnection CC2540 connection with F103 CC2530 connection with F103 TI CC3200 mode selection jumper Status LEDs for each module Button BPI G1 Hardware Specifications The features TI CC320...

Страница 2: ...2...

Страница 3: ...of improvement it is already quite mature and stable TI s Z stack has achieved Zigbee 2007 Pro you can use the 16 s short address you can use the 64 bit long address communication face large local int...

Страница 4: ...BPI G1 hardware BPI G1 hardware 4...

Страница 5: ...BPI G1 hardware interface BPI G1 hardware interface 5...

Страница 6: ...STM32F103CB part Peripheral Interface Uart Interface SPI Interface I2C Interface STM32F103CB part Peripheral Interface 6...

Страница 7: ...CAN Interface USB2 0 Interface PWM Timer Capture channel STM32F103CB part Peripheral Interface 7...

Страница 8: ...ADC channel STM32F103CB part Peripheral Interface 8...

Страница 9: ...TI CC3200 part Peripheral Interface 4 wire SDIO Interface Uart Interface SPI Interface TI CC3200 part Peripheral Interface 9...

Страница 10: ...I2C Interface PWM Timer Capture channel TI CC3200 part Peripheral Interface 10...

Страница 11: ...ADC channel TI CC3200 part Peripheral Interface 11...

Страница 12: ...TI CC2530 part Peripheral Interface Uart Interface SPI Interface PWM Timer Capture channel TI CC2530 part Peripheral Interface 12...

Страница 13: ...ADC channel TI CC2530 part Peripheral Interface 13...

Страница 14: ...TI CC2540 1 part Peripheral Interface Uart Interface SPI Interface ADC channel TI CC2540 1 part Peripheral Interface 14...

Страница 15: ...PWM Timer Capture channel TI CC2540 1 part Peripheral Interface 15...

Страница 16: ...BPI G1 Global Power and Ground Global Power and Ground 16...

Страница 17: ...1 and ZIGBEE CC2530 are interconnected through STM32F103CB serial port they can work alone can also coordinate the work will be given below communication connections between the modules schematic 5 1...

Страница 18: ...CC2540 connection with F103 Module interconnection 18...

Страница 19: ...CC2530 connection with F103 Module interconnection 19...

Страница 20: ...em SFLASH into memory and execute code As shown in Figure Run mode Run mode you need to disconnect VI and VO then power on CC3200 will SFLASH read from the file system into memory and run In this mode...

Страница 21: ...TI CC3200 mode selection jumper 21...

Страница 22: ...Status LEDs for each module Status LEDs for each module 22...

Страница 23: ...Button BPI G1 has a button which is connected to the PB3 pin F103 in the middle of a pullup resistor in parallel when the key is pressed the pin will be low level information Figure Button 23...

Страница 24: ...ications It enables to build a strong BLE master or slave node with very low total cost BOM The CC2540 combines the excellent RF transceiver the industry standard enhanced 8051 MCU in system programma...

Страница 25: ...e API 2 8 simultaneous TCP sockets or UCP 3 2 slots while TLS and SSL Strong encryption engine for the 256 for AES TLS and SSL encrypted connections fast secure Wi Fi and internet connection Base stat...

Страница 26: ...SMA CA hardware support Accurate digital RSSI LQI support 6 channels can be configured 12 bit ADC resolution AES security coprocessor 2 Powerful USART interface to support multiple serial protocol 1 c...

Страница 27: ...Powerful USART interface to support multiple serial protocol 1 common SPI interface 8 general purpose I O pins 6 4 mA 2 20 mA Watchdog Timer Wireless Performance 1 Suitable excellent receiver sensitiv...

Страница 28: ...2C and USART 18 general purpose programmable GPIO 7 Timer 1 3 16 bit timers each up to 4 IC OC PWM or pulse counter quadrature incremental encoder into 2 16 bit motor control PWM timer dead time gener...

Страница 29: ...nt to achieve functional modules can easily match Abundant development resources open source sharing of data and TI ST and other major manufacturers improve the development of information IOS and Andr...

Страница 30: ...Which IDE development can use TI CC3200 Code Composer Studio CCS IAR EWARM GCC TI CC2530 CC2540 IAR EW8051 Instant Contiki STM32F103CB IAR EWARM GCC Which IDE development can use 30...

Страница 31: ...ch emulator debugging TI C3200 BPI OpenDebugger TI CC2530 CC2540 BPI OpenDebugger TI CC Debugger TI SmartRF04EB TI SmartRF05EB STM32F103CB BPI OpenDebugger JLink V8 STLink V2 Which emulator debugging...

Страница 32: ...BPI G1 Schematic google drive download https drive google com file d 0B4PAo2nW2Kfnd3pUbnFORl9ZdVE view usp sharing BPI G1 Schematic 32...

Страница 33: ...ation of the development of wireless applications on G1 plug in antenna DC power input is 5V the development board interfaces are 3 3V VCC CC3200 The three status lights above the IO IO port and port...

Страница 34: ...R EWARM under Windows7 and IAR EW8051 debugging emulator will use BPi open debugger burn board BPI opne debugger board About open debugger burn board please see this gitbook https bananapi gitbooks io...

Страница 35: ...ng the default installation folder C TI CC3200SDK_1 0 0 IAR EWARM Please install the software on their own we recommend using IAR EWARM 7 2 or later Tera Term or similar software Tera Term link http e...

Страница 36: ...comes with the driver If you can identify that please give G1 on electricity Cover IAR debugger interface file Copy the file C TI CC3200SDK_1 0 0 CC3200 sdk tools iar_patch armLMIFTDI dll to folder C...

Страница 37: ...2 Browse C TI CC3200SDK_1 0 0 cc3200 sdk simplelink ewarm directory and open simplelink eww 3 From the menu select Project Rebuild All to Recompile simplelink project Quick start of TI CC3200 37...

Страница 38: ...shown in Figure The security types supported for this demo are WPA WPA2 and Open For Open security define SECURITY_TYPE as SL_SEC_TYPE_OPEN For WPA and WPA2 security define it as SL_SEC_TYPE_WPA 4 Sa...

Страница 39: ...e 24 to download code to the device and start debugging Select Debug Go from the menu or press F5 to begin execution 10 If the CC3200 successfully completes all steps the serial output appears as show...

Страница 40: ...all the software on their own we recommend using IAR EW8051 8 1 G1 connection BPI open debugger burn board BPI open debugger check whether the software and hardware are connected BPI open debugger con...

Страница 41: ...ricity on the G1 G1 is properly connected and Open debugger Compile download and debug routines SimpleBLEPeripheral 1 IAR EW8051 SimpleBLEPeripheral start and open the project select File Open from th...

Страница 42: ...540 4 When debugging code must be downloaded to the device Select Project Options from the menu and select Debugger category In this setup tab select Texas Instruments as a driver and then click OK Fi...

Страница 43: ...ebug Step Out button on the column enter the full speed 7 Then open the phone BLE software IOS IPhone4s and above on the LightBlue Android Android4 3 and above on the Ex039BLE refresh the list of Blue...

Страница 44: ...Figure Quick start of TI CC2540 1 44...

Страница 45: ...ts hal target CC2530EB file with the same name 2 IAR EW8051 The software is compiled BLE s IDE is the same if you have installed then the direct use otherwise the installation yourself we recommend us...

Страница 46: ...ther colors please check whether it is normal or electricity on the G1 G1 is properly connected and Open Debugger Modifications to adapt the code for G1 1 Open the file C Texas instruments ZStack CC25...

Страница 47: ...two BPI G1 development board and you need two OLED screens 1 Start IAR EW8051 and open SampleApp project select File Open from the menu Workspace 2 Browse to C Texas Instruments ZStack CC2530 2 5 1a...

Страница 48: ...s CoordinatorEB 4 When debugging code must be downloaded to the device Select Project Options from the menu and select Debugger category In this setup tab select Texas Instruments as a driver and then...

Страница 49: ...debug button on the device and enter debug mode Figure 6 Click Debug Step Out button on the column enter the full speed 7 If there is no problem a G1 should be is a good writer Up and running in the f...

Страница 50: ...he CC Debugger interface again next reset button look at the status light is green if not green check the power supply G1 or G1 with OPEN DEBUGGER the cable is properly 10 Click on the icon to downloa...

Страница 51: ...12 If everything is normal then the two G1 already up and running you can see from the two G1 OLED screen they have connected to the Quick start of TI CC2530 51...

Страница 52: ...ttps github com mark legend bpi_g1_stm32_simpleled download SimpleLed G1 connection BPI open debugger board BPI open debugger check whether the software and hardware are connected BPI Open debugger co...

Страница 53: ...enu Workspace 2 Browse to bpi_g1_stm32_simpleled SimpleLed and open SimpleLed eww 3 Click on the icon to download the program debug button on the device and enter debug mode Figure 4 Click Debug Step...

Страница 54: ...5 If there is no problem STM32 lower left corner of the LED will begin to flash lights Quick Start STM32F103CB 54...

Страница 55: ...ware are 1 JlinkARM Download http www segger com jlink software html 2 unifalsh Download http www ti com cn tool cn uniflash 3 SmartRF Studio 7 Download http www ti com tool smartrftm studio 4 Writer...

Страница 56: ...firmware The JTAG and UART BPI OPENDEBUGGER and BPI G1 on the JTAG and UART connection as shown Open uniflash click File open configuration Borwse select the firmware storage location and then click o...

Страница 57: ...Select Serial Number Click on the computer Computer Properties Device Manager Ports Figure BPI G1 Simple Code Firmware programming manual 57...

Страница 58: ...Click operation program as shown below Then press the reset button on the BPI OPENDEBUGGER The programming is done in the below BPI G1 Simple Code Firmware programming manual 58...

Страница 59: ...Programming stm32f103 firmware BPI G1 Simple Code Firmware programming manual 59...

Страница 60: ...rface and BPI G1 above BPI OPENDEBUGGER on the figure Open J Flash Figure Select Create project form template ST STM32F103CB jflash Open start j flash Save Note Generally saved on the desktop BPI G1 S...

Страница 61: ...Select 0ptions Project settings shown in Figure 1 and 2 BPI G1 Simple Code Firmware programming manual 61...

Страница 62: ...Select programming firmware Click File open data file Open Figure BPI G1 Simple Code Firmware programming manual 62...

Страница 63: ...Auto programming is completed as shown CC2540 programming firmware the cc dubegger interface and BPI G1 BPI OPENDEBUGGER cc2540 on top of cc dubegger interface as shown BPI G1 Simple Code Firmware pro...

Страница 64: ...Figure Click SmartRFProg exe BPI G1 Simple Code Firmware programming manual 64...

Страница 65: ...Figure click ok BPI G1 Simple Code Firmware programming manual 65...

Страница 66: ...Click the reset button as shown he state of the connection is successful such as BPI OPENDEBUGGER red will turn green and then burning software shown BPI G1 Simple Code Firmware programming manual 66...

Страница 67: ...Select the firmware programming shown Programming software configuration as shown BPI G1 Simple Code Firmware programming manual 67...

Страница 68: ...erform actions shown in the programming success programming cc2530 firmware The cc dubegger interface and BPI G1 BPI OPENDEBUGGER cc2530 on top of cc dubegger interface as shown BPI G1 Simple Code Fir...

Страница 69: ...Figure Click SmartRFProg exe BPI G1 Simple Code Firmware programming manual 69...

Страница 70: ...Figure click ok BPI G1 Simple Code Firmware programming manual 70...

Страница 71: ...Click the reset button the connection is successful such as BPI OPENDEBUGGER red will turn green and then burning software state is shown BPI G1 Simple Code Firmware programming manual 71...

Страница 72: ...Select the firmware programming shown Programming software configuration as shown BPI G1 Simple Code Firmware programming manual 72...

Страница 73: ...Programming firmware Click perform actions shown in the programming success Similarly B SLAVE firmware and A HOST firmware is the same programming BPI G1 Simple Code Firmware programming manual 73...

Страница 74: ...pLWFVubFU view usp sharing code catalog readme MasterController STM32F103 sorce code please uee IAR ARM 7 3 open project MasterControllerBLE CC2540 source code please use IAR 8051 8 10 open project Ma...

Страница 75: ...T zigbee all function and work together smartHome_IPHONE IOS ios source code please use xCode open it this app is for IOS use it you can easy to control all zigbee slave unit so you can use APP to con...

Страница 76: ...ww youtube com watch v wQWgF0733FY how to debugger BPI G1 with BPI debugger tooling https www youtube com watch v mqyq oLIxCY discuss this project on forum http forum banana pi org t bpi g1 as a smart...

Страница 77: ...BPI G1 Accessories BPI G1 Accessories 77...

Страница 78: ...have to do something different series of chips switching plug tedious work In addition it also integrates a USB to serial port which is a common interface for embedded development It is also one of U...

Страница 79: ...have many Accessories for it more acessories please see this gitbook https bananapi gitbooks io bpi accessories content bpi g1_accessories html all BPI G1 accessories we will update to BPI Accessorie...

Страница 80: ...ltra content Banana pi BPI M3 allwinner A83T R58 H8 octa core single board computer gitbook online datasheet https bananapi gitbooks io bpi m3 content en banana pi BPI M64 allwinner A64 64 bit single...

Страница 81: ...roduction line assembly line production line testing your Idea we will help you optimize and design your Design we will help you bring it to live your Product we will help you mass produce it Customiz...

Страница 82: ...u knew it quite well that your success is just around the corner The only last step is to produce it but without manufactruing capability no problem let us carry you through Our 13 years of SCM experi...

Отзывы: