Skip to content

Commit

Permalink
Adds delay and disable autoCsEnable
Browse files Browse the repository at this point in the history
  • Loading branch information
rosahay-silabs committed Apr 7, 2023
1 parent b0fa83e commit d038bb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/platform/silabs/efr32/spi_multiplex.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ void spi_drv_reinit(uint32_t baudrate)
usartInit.baudrate = baudrate;
uint32_t databits = SL_SPIDRV_EXP_FRAME_LENGTH - 4U + _USART_FRAME_DATABITS_FOUR;
usartInit.databits = (USART_Databits_TypeDef) databits;
usartInit.autoCsEnable = true;
// usartInit.autoCsEnable = true;

USART_InitSync(USART0, &usartInit);
vTaskDelay(100);
}

/****************************************************************************
Expand Down

0 comments on commit d038bb6

Please sign in to comment.