This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

case about spim3 driver ILI9341

HI,

I succeeded in the test.:SPIM0 SPIM1 SPIM2.

I failed the test SPIM3.

Please help me configure SPIM3 init.

1. The SDK: sdk17.0.2

2. Example: D: \ Project \ nRF5_SDK_17 0.2 _d674dde \ examples \ ble_peripheral \ ble_app_uart_spi

ble_app_uart_spi.rar

3. IC:nRF52840

4: Peripherals:SPIM3

5. I failed to test SPIM3, debug is as follows

Why are spIM3-related registers not properly initialized?


Thank you for all your assistance.
Kind regards,
Peter.Min

Parents
  • Hi Peter,

    What other peripherals are you using ? TWI and SPI usually share resources handlers and you have to be careful with that

  • Hi picatostas,

    I'm using the default example ble_app_uart and add the driver spim3.

    Therefore, the peripherals used are Timer0 RTC0 UART0 GPIOTE SPIM3

    I confirm that TWI0-3 and SPI0-3 are not used

    I tested SPIM0-3, SPIM0-2 test OK,butt SPIM3 test failed

    Why did I debug the SPIM3 register with 0?

    It looks like an initialization problem.

    Where should I change to use SPIM3?

    Thank you for all your assistance.
    Kind regards,
    Peter.Min

Reply
  • Hi picatostas,

    I'm using the default example ble_app_uart and add the driver spim3.

    Therefore, the peripherals used are Timer0 RTC0 UART0 GPIOTE SPIM3

    I confirm that TWI0-3 and SPI0-3 are not used

    I tested SPIM0-3, SPIM0-2 test OK,butt SPIM3 test failed

    Why did I debug the SPIM3 register with 0?

    It looks like an initialization problem.

    Where should I change to use SPIM3?

    Thank you for all your assistance.
    Kind regards,
    Peter.Min

Children
Related