Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ea4230

Browse files
committed
samd: Support MICROPY_HW_SOFTSPI_MIN_DELAY.
Bringing the SoftSPI baudrate up to about 500 kHz.
1 parent 389c24b commit 5ea4230

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/samd/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
#define MICROPY_PY_MACHINE_SOFTI2C (1)
9494
#define MICROPY_PY_MACHINE_SPI (1)
9595
#define MICROPY_PY_MACHINE_SOFTSPI (1)
96+
#define MICROPY_HW_SOFTSPI_MIN_DELAY (1)
97+
#define MICROPY_HW_SOFTSPI_MAX_BAUDRATE (1000000)
9698
#define MICROPY_PY_MACHINE_TIMER (1)
9799
#define MICROPY_PY_OS_DUPTERM (3)
98100
#define MICROPY_PY_MACHINE_BITSTREAM (1)

0 commit comments

Comments
 (0)