We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5490a82 commit cfa4425Copy full SHA for cfa4425
1 file changed
ports/atmel-samd/common-hal/busio/SPI.c
@@ -203,6 +203,7 @@ void common_hal_busio_spi_construct(busio_spi_obj_t *self,
203
self->slave_mode = slave_mode;
204
hri_sercomspi_write_CTRLA_DOPO_bf(sercom, dopo);
205
hri_sercomspi_write_CTRLA_DIPO_bf(sercom, slave_mode ? mosi_pad : miso_pad);
206
+ hri_sercomspi_write_CTRLB_PLOADEN_bit(sercom, slave_mode);
207
208
// Always start at 250khz which is what SD cards need. They are sensitive to
209
// SPI bus noise before they are put into SPI mode.
0 commit comments