| Electronic Components Datasheet Search |
|
BLUENRG-1 Datasheet(PDF) 51 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
BLUENRG-1 Datasheet(HTML) 51 Page - STMicroelectronics |
|
51 / 173 page ![]() BlueNRG-1 Functional details DocID028866 Rev 1 51/173 The transmit FIFO and the receive FIFO are not cleared when the SSE bit is cleared. 3.8.2.3 SPI bit rate generation The SPI bitrate is derived by dividing down the peripheral clock (CLK) by an even prescaler value CPSDVSR from 2 to 254, the clock is further divided by a value from 1 to 256, which is 1+SCR. The SPI frequency clock duty cycle is always 0.5. 3.8.2.4 SPI data endianness All transfers can be sent and received with configurable endianness according the setting of the (T/R)ENDN bit in the CR1 registers The cases "00b" and "11b" of TENDN and RENDN are implemented for data frame size from 4- to 32-bit. The cases "01b" and "10b" of TENDN and RENDN are implemented only for the following data frame sizes: 16-bit, 24-bit and 32-bit. Transmit data endianness: TENDN in CR1: Table 46: SPI TX endianness TENDN Endianness 00b The element is transmitted MSByte-first and MSbit-first. 01b The element is transmitted LSByte-first and MSbit-first. 10b The element is transmitted MSByte-first and LSbit-first. 11b The element is transmitted LSByte-first and LSbit-first. Table 47: SPI RX endianness RENDN Endianness 00b The element is received MSByte-first and MSbit-first. 01b The element is received LSByte-first and MSbit-first. 10b The element is received MSByte-first and LSbit-first. 11b The element is received LSByte-first and LSbit-first. 3.8.2.5 SPI interrupts There are six individual maskable interrupt sources generated by the SPI (single interrupt signal that drives the NVIC): Receive interrupt Transmit interrupt Timeout interrupt Receive overrun interrupt Transmit underrun interrupt Transmit empty interrupt The user can enable or disable the individual interrupt sources by changing the mask bits in the IMSC register. Setting the appropriate mask bit to 1b enables the interrupt. The status of the individual interrupt sources can be read from the RIS register (raw interrupt status) or from the MIS register (masked interrupt status). |
|
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 |