Skip to content

Commit 3eaa55c

Browse files
committed
Update readme
1 parent 5d68ff7 commit 3eaa55c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ TODO (flowchart)
3636

3737
## 3 - Development problems
3838

39-
Along the way there were some hiccups in the code-development. The main problem we faced at first is discussed in short below.
39+
Along the way there were some hiccups in the code-development. The main problem we first faced is discussed in short below.
4040

41-
We first left `automatic ChipSelect` enabled but after looking at the `SPI` bus with a logic analyser where we expected a *soft reset* we noticed incorrect behaviour, depicted below.
41+
We first left `automatic ChipSelect` in the `USART config` enabled. After getting no response from the accelerometer we observed the `SPI` bus with a logic analyser. Below we see the incorrect behaviour, normally the accelerometer should perform a **soft reset**.
4242

4343
![Auto CS = true](/doc/reports/figures/ADXL-reset-autoCStrue.png?raw=true "Auto CS = true")
4444

45-
**As seen above, the ChipSelect pin goes low for each byte. This is not the correct behaviour, since it needs to stay low for three bytes** (`register address`- `read/write` - `value to read/write`). After manually setting the CS pin high and low we got the correct behaviour, as depicted below.
45+
**As seen above, the ChipSelect pin goes low for each byte. This is not the correct behaviour, since it needs to stay low for three bytes** (`register address`- `read/write` - `value to read/write`).
46+
47+
After manually setting the CS pin high and low we got the correct behaviour, as depicted below.
4648

4749
![Auto CS = false](/doc/reports/figures/ADXL-reset-autoCSfalse-CSPD4.png?raw=true "Auto CS = false")
4850

0 commit comments

Comments
 (0)