Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Feb 5, 2025
1 parent 4c8d593 commit 48d4e2b
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Therefore the user should check with **getError()** if an error has occurred aft
// handle error
```

The errorhandling within the library need to be improved, see also issue #84.
The error handling within the library need to be improved, see also issue #84.


### Read the ADC in asynchronous way
Expand Down Expand Up @@ -526,15 +526,17 @@ as that is the only single change visible. This is IMHO the correct view.
#### ALERT RDY table
| MODE | COMP_POL | IDLE | START | CONVERT | READY |
|:---------------|:-----------|:-------|:----------|:----------|:----------|
| 0 = continuous | 0 = LOW | HIGH | FALLING | LOW | RISING |
| 0 = continuous | 1 = HIGH | LOW | RISING | HIGH | FALLING |
| 1 = single | 0 = LOW | HIGH | FALLING | LOW | RISING |
| 1 = single | 1 = HIGH | LOW | RISING | HIGH | FALLING |
| MODE | COMP_POL | CONVERT | COMPLETING | READY |
|:---------------|:-----------|:----------|:-------------|:----------|
| 0 = continuous | 0 = LOW | LOW | RISING | FALLING |
| 0 = continuous | 1 = HIGH | HIGH | FALLING | RISING |
| 1 = single | 0 = LOW | LOW | RISING | FALLING |
| 1 = single | 1 = HIGH | HIGH | FALLING | RISING |
See issue #76 for some screenshots.
See issue #76 and #87 for some screenshots.
See also [Rev. D data sheet, Page 17 Figure 7-8 Conversion Ready Pulse in Continuous-Conversion Mode](https://www.ti.com/lit/ds/symlink/ads1115.pdf)
#### Converting time by Data Rate
Expand Down Expand Up @@ -562,18 +564,18 @@ Times are estimates from scope.
In short:
- if COMP_POL = 0,
- a FALLING edge indicates conversion start.
- a LOW level indicates converting.
- a RISING edge indicates conversion ready.
- a HIGH level indicates idle.
- a RISING edge indicates conversion completing.
- a FALLING edge indicates conversion ready.
- if COMP_POL = 1,
- a RISING edge indicates conversion start.
- a HIGH level indicates converting.
- a FALLING edge indicates conversion ready.
- a LOW level indicates idle.
- a FALLING edge indicates conversion completing.
- a RISING edge indicates conversion ready.
This interpretation is in line with all tests done in #76 and #87.
This interpretation is in line with all tests done in #76.
See also [Rev. D data sheet, Page 17 Figure 7-8 Conversion Ready Pulse in Continuous-Conversion Mode](https://www.ti.com/lit/ds/symlink/ads1115.pdf)
### Latch
Expand Down

0 comments on commit 48d4e2b

Please sign in to comment.