| Zakładka z wyszukiwarką danych komponentów |
|
PM0237 Arkusz danych(PDF) 36 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 Arkusz danych(HTML) 36 Page - STMicroelectronics |
|
36 / 88 page ![]() BlueNRG, BlueNRG-MS stacks architecture and ACI PM0237 36/88 DocID027104 Rev 2 2.2 ACI Interface resources In order to communicate with BlueNRG or BlueNRG-MS network processor through the ACI interface framework, the external microcontroller requires only the following main resources: 1. SPI interface 2. Platform-dependent code to write/read to/from SPI 3. A timer to handle SPI timeouts The BlueNRG, BlueNRG-MS SPI interface is handled through the functions defined on files SDK_EVAL_SPI_Driver.[ch] and hal.[ch]. These APIs allows the external microcontroller to get access to BlueNRG or BlueNRG-MS device. The BlueNRG, BlueNRG-MS devices use the SPI IRQ pin to notify the external microcontroller (SPI master) when it has data to be read: this is handled through the HCI_Isr() placed within the SPI_IRQ_IRQHandler() handler on stm32l1xx_it.c. The SPI_IRQ_IRQHandler() is associated to the proper EXTI irq handler, based on the selected platform GPIO line for the BlueNRG, BlueNRG-MS SPI interrupt line. The BlueNRG, BlueNRG-MS kits platforms are targeting the STM32L1xx microcontroller and the related libraries are used in order to get access to the device peripheral. The STM32L1xx microcontroller libraries are provided within the platform\STM32L1XX\Libraries\STM32L1xx_StdPeriph_Driver folder. The files stm32l1xx_spi.[ch] are used for handling the low level platform-dependent code to write/read to/from SPI. bluenrg_l2cap _aci.h Header file with L2CAP commands for BlueNRG FW stack “” It is included by bluenrg_aci.h bluenrg_gatt_a ci.h Header file with GATT commands for BlueNRG FW stack “” It is included by bluenrg_aci.h bluenrg_gap_a ci.h Header file with GAP commands for BlueNRG FW stack “” It is included by bluenrg_aci.h bluenrg_updat er_aci.h Header file with updater commands for BlueNRG FW stack “” It is included by bluenrg_aci.h Table 28. ACI Interface (continued) File Description Location Notes |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |