| Electronic Components Datasheet Search |
|
NRF52805-CAAA-R Datasheet(PDF) 257 Page - Nordic Semiconductor |
|
|
|||||||||||||||||||||||||||||
NRF52805-CAAA-R Datasheet(HTML) 257 Page - Nordic Semiconductor |
|
257 / 358 page ![]() Peripherals TWI master TWI slave (Sensor) Address = b1011000 TWI slave Address = b1011011 SCL SCL TWI slave (EEPROM) Address = b1011001 SCL R VDD R VDD SDA SDA SDA SCL SDA Figure 89: A typical TWI setup with one master and three slaves This TWI master supports clock stretching performed by the slaves. The TWI master is started by triggering the STARTTX or STARTRX tasks, and stopped by triggering the STOP task. If a NACK is clocked in from the slave, the TWI master will generate an ERROR event. 6.20.2 Master mode pin configuration The different signals SCL and SDA associated with the TWI master are mapped to physical pins according to the configuration specified in the PSEL.SCL and PSEL.SDA registers respectively. If the CONNECT field of a PSEL.xxx register is set to Disconnected, the associated TWI signal is not connected to any physical pin. The PSEL.SCL and PSEL.SDA registers and their configurations are only used as long as the TWI master is enabled, and retained only as long as the device is in ON mode. PSEL.SCL and PSEL.SDA must only be configured when TWI is disabled. To secure correct signal levels on the pins used by the TWI master when the system is in OFF mode, and when the TWI master is disabled, these pins must be configured in the GPIO peripheral as described in GPIO configuration on page 257. Only one peripheral can be assigned to drive a particular GPIO pin at a time, failing to do so may result in unpredictable behavior. TWI master signal TWI master pin Direction Drive strength Output value SCL As specified in PSEL.SCL Input S0D1 Not applicable SDA As specified in PSEL.SDA Input S0D1 Not applicable Table 82: GPIO configuration 6.20.3 Shared resources TWI shares registers and other resources with other peripherals that have the same ID as TWI. Therefore, you must disable all peripherals that have the same ID as TWI before TWI can be configured and used. Disabling a peripheral that has the same ID as TWI will not reset any of the registers that are shared with TWI. It is therefore important to configure all relevant TWI registers explicitly to secure that it operates correctly. The Instantiation table in Instantiation on page 17 shows which peripherals have the same ID as TWI. 4454_187 v1.2 257 |
|
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 |