| 数据搜索系统,热门电子元器件搜索 |
|
PM0237 数据表(PDF) 40 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 数据表(HTML) 40 Page - STMicroelectronics |
|
40 / 88 page ![]() BlueNRG, BlueNRG-MS stacks architecture and ACI PM0237 40/88 DocID027104 Rev 2 2.4 How to port the ACI SPI interface framework to a selected microcontroller BlueNRG, BlueNRG-MS devices are network coprocessors providing the Bluetooth low energy features. In order to get access to its functionality, an external microcontroller can be used by implementing the ACI SPI interface framework previously described. BlueNRG, BlueNRG-MS development kits software package provides a reference framework targeting this ACI SPI interface. This framework can be ported to another external microcontroller by following these steps: 1. Define a specific "USER_Platform_Configuration.h" with specific user platform SPI configuration 2. On the selected user application preprocessor options, add this define: USER_DEFINED_PLATFORM=USER_EVAL_PLATFORM 3. Replace the STM32L1xx libraries on folder platform\STM32L1XX\Libraries\STM32L1xx_StdPeriph_Driver folder with the specific microcontroller low level drivers 4. Replace the CMSIS Cortex-M3 files and the startup file (file startup_stm32l1xx_md.s) accordingly to the selected microcontroller 5. Readapt/port accordingly to the selected microcontroller the file system_stm32l1xx.c handling the system clock configuration for STM32L1xx 6. Adapt/port the files described in the section in order to refer to the selected external microcontroller low level drivers. Readapt/port accordingly to the selected microcontroller the stm32l1xx_it.c (make sure that HCI_Isr() is called within the SPI irq API handling the external IRQ interrupt on the IRQ line) . Once the ACI SPI interface framework has been ported to the selected microcontroller, user can verify that SPI access from external microcontroller is working by performing the basic test described in the section “SPI Interface” of the application note AN4494 “Bringing up the BlueNRG, BlueNRG-MS” , available on ST BlueNRG and BlueNRG-MS web pages. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |