You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -39,7 +41,7 @@ This is version 2.01 of the specification.
39
41
40
42
The version follows a `major.minor` configuration.
41
43
42
-
-`major`: Indicates a change or addition to the procotol, this is usually accompanied by a new DAPLink release.
44
+
-`major`: Indicates a change or addition to the protocol, this is usually accompanied by a new DAPLink release.
43
45
-`minor`: Indicates an update, fix, or clarification to the documentation **only**. No changes required to the protocol implementations.
44
46
45
47
The `I2C protocol version` property returns only the major version.
@@ -52,33 +54,38 @@ More information can be found in the [Tech Site DAPLink page](https://tech.micro
52
54
53
55
In micro:bit V1 there are UART and SWD signals connecting the Interface MCU (KL26) and the Target MCU (nRF51). These are used to program the Target MCU (nRF51) and to provide serial communication between the Target (nRF51) and the computer.
54
56
55
-
The micro:bit V2 adds an internal I2C bus connected to the Interface MCU (KL27), the Target MCU (nRF52), and the motion sensors (in V1 the motions sensors are connected to the external I2C bus, connected only to the Target MCU (nRF51), more info in the [Tech Site I2C page](https://tech.microbit.org/hardware/i2c-shared/)).
56
-
This new I2C bus allows the Interface (KL27) to provide additional features to the Target (nRF52), and to co-operate to set the board into different power modes (more info in the [Power Management Spec](https://github.com/microbit-foundation/spec-power-management/)).
57
+
The micro:bit V2 adds an internal I2C bus connected to:
58
+
- The Interface MCU (KL27 in micro:bit V2.0 or nRF52 in micro:bit V2.2)
59
+
- The Target MCU (nRF52)
60
+
- The motion sensors
61
+
- In micro:bit V1 the motions sensors are connected to the external I2C bus, only connected to the Target MCU, more info in the [Tech Site I2C page](https://tech.microbit.org/hardware/i2c-shared/)
62
+
63
+
This new internal I2C bus allows the Interface MCU to provide additional features to the Target MCU, and to co-operate to set the board into different power modes (more info in the [Power Management Spec](https://github.com/microbit-foundation/spec-power-management/)).
-`read_request` can only be sent by the I2C main (nrf)
254
-
- The main (nRF) must wait for the `COMBINED_SENSOR_INT` signal to be asserted by the secondary (KL27)
262
+
-`read_request` can only be sent by the Target I2C main
263
+
- The I2C main (Target) must wait for the `COMBINED_SENSOR_INT` signal to be asserted by the secondary (Interface)
255
264
-`write_request` can be sent by both secondary and main.
256
265
- For the secondary to initiate this, it must assert the interrupt signal first and then the main must poll (i2c read) the device for data.
257
-
- I2C transactions must not overlap. Every I2C Write, must be followed by an I2C Read.
258
-
- I2C Reads can be triggered by other I2C devices activating the shared `COMBINED_SENSOR_INT` interrupt signal. In case a response is not ready by the secondary (KL27), the busy error code will be returned and the main (nRF) should re-attempt to read the response when the `COMBINED_SENSOR_INT` signal is asserted.
266
+
- I2C transactions must not overlap. Every I2C Write, must be followed by an I2C Read.
267
+
- I2C Reads can be triggered by other I2C devices activating the shared `COMBINED_SENSOR_INT` interrupt signal. In case a response is not ready by the secondary (Interface), the busy error code will be returned and the main (Target) should re-attempt to read the response when the `COMBINED_SENSOR_INT` signal is asserted.
0 commit comments