Commit 94df478
committed
BootloaderTest: Remove ackLastRead
Turns out that acking the last read is actually problematic for the I²C
protocol, since then the slave does not know the transfer is completed
and might pull SDA down. This prevents the master from sending a stop
condition. In practice, this did not happen because the slave politely
withdraws from the bus when its last databyte is sent, but it is not
required to do so.1 parent 97c8fba commit 94df478
2 files changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 114 | + | |
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
| |||
608 | 604 | | |
609 | 605 | | |
610 | 606 | | |
611 | | - | |
612 | | - | |
613 | 607 | | |
614 | 608 | | |
615 | 609 | | |
| |||
627 | 621 | | |
628 | 622 | | |
629 | 623 | | |
630 | | - | |
631 | 624 | | |
632 | 625 | | |
633 | 626 | | |
| |||
638 | 631 | | |
639 | 632 | | |
640 | 633 | | |
641 | | - | |
642 | 634 | | |
643 | 635 | | |
644 | 636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
0 commit comments