Banana Pi BPI-G1 Manual Download Page 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

Summary of Contents for BPI-G1

Page 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...

Page 2: ...2...

Page 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...

Page 4: ...BPI G1 hardware BPI G1 hardware 4...

Page 5: ...BPI G1 hardware interface BPI G1 hardware interface 5...

Page 6: ...STM32F103CB part Peripheral Interface Uart Interface SPI Interface I2C Interface STM32F103CB part Peripheral Interface 6...

Page 7: ...CAN Interface USB2 0 Interface PWM Timer Capture channel STM32F103CB part Peripheral Interface 7...

Page 8: ...ADC channel STM32F103CB part Peripheral Interface 8...

Page 9: ...TI CC3200 part Peripheral Interface 4 wire SDIO Interface Uart Interface SPI Interface TI CC3200 part Peripheral Interface 9...

Page 10: ...I2C Interface PWM Timer Capture channel TI CC3200 part Peripheral Interface 10...

Page 11: ...ADC channel TI CC3200 part Peripheral Interface 11...

Page 12: ...TI CC2530 part Peripheral Interface Uart Interface SPI Interface PWM Timer Capture channel TI CC2530 part Peripheral Interface 12...

Page 13: ...ADC channel TI CC2530 part Peripheral Interface 13...

Page 14: ...TI CC2540 1 part Peripheral Interface Uart Interface SPI Interface ADC channel TI CC2540 1 part Peripheral Interface 14...

Page 15: ...PWM Timer Capture channel TI CC2540 1 part Peripheral Interface 15...

Page 16: ...BPI G1 Global Power and Ground Global Power and Ground 16...

Page 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...

Page 18: ...CC2540 connection with F103 Module interconnection 18...

Page 19: ...CC2530 connection with F103 Module interconnection 19...

Page 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...

Page 21: ...TI CC3200 mode selection jumper 21...

Page 22: ...Status LEDs for each module Status LEDs for each module 22...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 32: ...BPI G1 Schematic google drive download https drive google com file d 0B4PAo2nW2Kfnd3pUbnFORl9ZdVE view usp sharing BPI G1 Schematic 32...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 44: ...Figure Quick start of TI CC2540 1 44...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 54: ...5 If there is no problem STM32 lower left corner of the LED will begin to flash lights Quick Start STM32F103CB 54...

Page 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...

Page 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...

Page 57: ...Select Serial Number Click on the computer Computer Properties Device Manager Ports Figure BPI G1 Simple Code Firmware programming manual 57...

Page 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...

Page 59: ...Programming stm32f103 firmware BPI G1 Simple Code Firmware programming manual 59...

Page 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...

Page 61: ...Select 0ptions Project settings shown in Figure 1 and 2 BPI G1 Simple Code Firmware programming manual 61...

Page 62: ...Select programming firmware Click File open data file Open Figure BPI G1 Simple Code Firmware programming manual 62...

Page 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...

Page 64: ...Figure Click SmartRFProg exe BPI G1 Simple Code Firmware programming manual 64...

Page 65: ...Figure click ok BPI G1 Simple Code Firmware programming manual 65...

Page 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...

Page 67: ...Select the firmware programming shown Programming software configuration as shown BPI G1 Simple Code Firmware programming manual 67...

Page 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...

Page 69: ...Figure Click SmartRFProg exe BPI G1 Simple Code Firmware programming manual 69...

Page 70: ...Figure click ok BPI G1 Simple Code Firmware programming manual 70...

Page 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...

Page 72: ...Select the firmware programming shown Programming software configuration as shown BPI G1 Simple Code Firmware programming manual 72...

Page 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...

Page 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...

Page 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...

Page 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...

Page 77: ...BPI G1 Accessories BPI G1 Accessories 77...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: