| Zakładka z wyszukiwarką danych komponentów |
|
PM0237 Arkusz danych(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 Arkusz danych(HTML) 37 Page - STMicroelectronics |
|
37 / 88 page ![]() DocID027104 Rev 2 37/88 PM0237 BlueNRG, BlueNRG-MS stacks architecture and ACI 88 When using another external microcontroller these files should be ported/adapted for addressing the ACI SPI communication. In order to proper setup the ACI SPI interface, user is only requested to perform the following steps at initialization time, on main() function: 1. Init SPI interface by calling the following API: SdkEvalSpiInit(SPI_MODE_EXTI); 2. Reset the BlueNRG module by calling the following API: BlueNRG_RST(); The user is also requested to place HCI_Isr() within the SPI_IRQ_IRQHandler() handler on file stm32l1xx_it.c: this allows BlueNRG, BlueNRG-MS device to use the SPI IRQ pin to notify the external microcontroller (SPI master) when it has data to be read. Table 29. ACI Interface resources files File Description Location Notes SDK_EVAL_SPI_Driver.[ch ] Main APIs handling SPI communicatio n with BlueNRG, BlueNRG-MS device platform\STM32L1XX\Libraries\SDK_Eval_STM 32L\src These APIs are mapped to the specific microcontroller low level drivers handling the SPI peripheral (stm32l1xx_spi.c) hal.[ch] Other APIs handling communicatio n with BlueNRG, BlueNRG-MS device platform\STM32L1XX clock.[ch] SPI timer APIs platform\STM32L1XX It provides the low level APIs handling the SPI timeouts stm32l1xx_it.c Main Interrupt Service Routines It is defined within the specific user application folder |
|
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 |