Skip to content

Commit 89c2c2b

Browse files
committed
SPI Fixed
1 parent 0e9f7e0 commit 89c2c2b

File tree

1 file changed

+2
-2
lines changed
  • content/hardware/06.nicla/boards/nicla-vision/tutorials/user-manual

1 file changed

+2
-2
lines changed

content/hardware/06.nicla/boards/nicla-vision/tutorials/user-manual/content.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ The Nicla Vision supports SPI communication, which allows data transmission betw
12331233
| SCLK / PE_12 | SCK or 9 |
12341234
| CIPO / PE_13 | MISO or 10 |
12351235
| COPI / PE_14 | MOSI or 8 |
1236-
| CS / PE_11 | SS or 7 |
1236+
| CS / PE_11 | CS or 7 |
12371237

12381238

12391239
Please, refer to the [board pinout section](#pinout) of the user manual to localize them on the board.
@@ -1267,7 +1267,7 @@ Here is a simple example showing how to send data over SPI.
12671267
import time
12681268
from pyb import Pin, SPI
12691269

1270-
cs = Pin("SS", Pin.OUT_OD) # CS pin = PE11
1270+
cs = Pin("CS", Pin.OUT_OD) # CS pin = PE11
12711271

12721272
spi = SPI(4, SPI.MASTER, baudrate=int(480000000 / 256), polarity=0, phase=0)
12731273

0 commit comments

Comments
 (0)