| Electronic Components Datasheet Search |
|
BLUENRG-2 Datasheet(PDF) 61 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
BLUENRG-2 Datasheet(HTML) 61 Page - STMicroelectronics |
|
61 / 190 page ![]() BlueNRG-2 Functional details DocID030675 Rev 2 61/190 Switching between these different modes when SPI is enabled is possible. If the transmission mode is deselected for another mode during a frame transmission, the new mode will become active at the start of the next word. 3.8.2.13 SPI Master communication mode for National Semiconductor Microwire standard The FRF register field selects the SPI mode interface: the default value 0 indicates the Motorola standard interface, while FRF = 2 selects the Microwire standard interface for the 3-wire SPI mode. The hardware connection considers the SPI_IN and SPI_OUT pins connected together as shown in the figure below. The two pins are handled internally to send and receive data. Figure 12: MicroWire master and slave communication The CSS register field specifies the length of the data to send and the DSS register field specifies the length of the data to receive. In reception mode, the quantity of data to read is specified in the DSS register field. The set of the SSE register field, enables SPI for the communication. The user should wait for data reception to end before attempting any reads. The SSE register field must be reset at the end of the communication. In transmission mode, the send data are written inside the TX FIFO and the quantity of data to send is specified in the CSS register field. The SSE register field setting enables SPI for the communication. When the busy flag is RESET, SPI communication is terminated. The SSE register field must be reset at the end of the communication. 3.8.3 SPI registers SPI peripheral base address (SPI_BASE_ADDR) 0x40400000. Table 55: SPI registers Address offset Name RW Reset Description 0x00 CR0 RW 0x1C000000 Control Register 0. Refer to the detailed description below. 0x04 CR1 RW 0x00000000 Control Register 1. Refer to the detailed description below. 0x08 DR RW 0x00000000 Data Register. Refer to the detailed description below. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |