2 Replies Latest reply on Nov 10, 2020 5:36 AM by KotnaniK_71

    STM32F412 based module - SPI_CLK does not idle to '1'

    EyLa_3227556

      Hi,

       

      For some mysterious reason, the SPI_CLK signal does not idle to '1' even it was configured as such:

      static const wiced_spi_device_t IMU_SPI = {

          .port = SENSORS_SPI_PORT,

          .chip_select = WICED_GPIO_NONE,
          .speed = 1000000,

          .mode = ( SPI_CLOCK_RISING_EDGE| SPI_CLOCK_IDLE_HIGH | SPI_MSB_FIRST | SPI_CS_ACTIVE_LOW | SPI_NO_DMA),

          .bits = 8,

      };

      However, I see that the SCLK is '0' prior to nCS asserting to '0'

       

      The platform is LAIRD_EWB (STM32F412 + CY434W), Wiced SDK 6.4

       

      please see the (Noisy) scope capture

       

      2020-11-03 13_26_58-IMG_20201103_132536.jpg (JPEG Image, 3840 × 2160 pixels) - Scaled (44%).png