| Electronic Components Datasheet Search |
|
BLUENRG-1 Datasheet(PDF) 84 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
BLUENRG-1 Datasheet(HTML) 84 Page - STMicroelectronics |
|
84 / 173 page ![]() Functional details BlueNRG-1 84/173 DocID028866 Rev 1 3.10.2.4 DMA interface The I2C controller includes a specific DMA interface. The following section describes the signals interface, data flow and programming model for the RX and the TX paths. The DMA interfaces are separated for each path and two DMA request channels shall be used for a device. In RX mode, a DMA transfer based on a single descriptor shall be used and the DMA RX channel must be programmed for a peripheral-to-memory transfer where the flow controller is the DMA. Each descriptor is related to a single I2C transaction (master read or write-to- slave operation) and no linked list item should be used. The transfer length shall be programmed on the DMA and the termination of the frame transfer is notified by the assertion of the related interrupt I2C_RISR:STD or I2C_RISR:MTD bits. In case of read- from-slave operation, on the DMA (master device) the transfer length shall be programmed according to the I2C_MCR:LENGTH register field. In case of write-to-slave operation, on the DMA (slave device) the maximum length (not the real length because it is unknown) shall be programmed. In TX mode, a DMA transfer based on a single descriptor shall be used and the DMA TX channel must be programmed for a memory-to-peripheral transfer where the flow controller is the DMA. Each descriptor is related to a single I2C transaction (master write or read- from-slave operation) and no linked list item should be used. The transfer length shall be programmed on the DMA and the termination of the frame transfer is notified by the assertion of the related interrupt I2C_RISR:STD or I2C_RISR:MTD bits. In case of write-to- slave operation, on the DMA (master device) the transfer length shall be programmed according to the I2C_MCR:LENGTH register field. In case of read-from-slave operation, on the DMA (slave device) the maximum length (not the real length because it is unknown) shall be programmed. 3.10.3 I2C registers I2C2 peripheral base address (I2C2_BASE_ADDR) 0x40A00000 I2C1 peripheral base address (I2C1_BASE_ADDR) 0x40B00000 Table 91: I2Cx registers Address offset Name RW Reset Description 0x00 CR RW 0x00000000 I2C control register. Refer to the detailed description below. 0x04 SCR RW 0x000F0055 I2C slave control register. Refer to the detailed description below. 0x0C MCR RW 0x00000000 I2C master control register. Refer to the detailed description below. 0x10 TFR RW 0x00000000 I2C transmit FIFO register. Refer to the detailed description below. 0x14 SR R 0x00000000 I2C status register. Refer to the detailed description below. 0x18 RFR R 0x00000000 I2C receive FIFO register. Refer to the detailed description below. 0x1C TFTR RW 0x00000000 I2C transmit FIFO threshold register. Refer to the detailed description below. 0x20 RFTR RW 0x00000000 I2C receive FIFO threshold 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 |