Ashvin Ramani

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: SPI Clock issue #12298
    Ashvin RamaniAshvin Ramani
    Participant

      @coloradocarlos & @Neeraj, I missed the kernel version in my previous reply. It is 5.4

      in reply to: SPI Clock issue #12221
      Ashvin RamaniAshvin Ramani
      Participant

        @coloradocarlos & @Neeraj, Thank you for the input.

        Let me summarize again from the beginning, what we are doing and what we are expecting to achieve. I am describing my approach as below:
        ***************************************************************************************************************************
        What we did:
        1) We are using the OSD32MP1-BRK board (No other board is connected for this exercise, lines are open!)
        2) We are using OpenSTLinux(kernel:), and we have applied this patch( https://github.com/octavosystems/BRK_Developer_Package_patches)to add support for OSD32MP1-BRK in the OpenSTLinux.

        What we would like to achieve:
        1) Want to use SPI1 interface on M4 (alongside RTOS support) and want to use PZ0, PZ1, PZ2, PZ3 Pins only (due to design limitations!)

        Could you please guide me from here to enable the SPI1 on the M4 side?
        ***************************************************************************************************************************

        ***************************************************************************************************************************
        Following is my observation after going through the default device tree which is provided as part of the developer package in point-2 from what we did section above, which is also available at https://github.com/octavosystems/OSD32MP1-BRK-device-tree.

        1)PZ0, PZ1, PZ2, PZ3 pins are occupied by A7 for SPI6,: Is it possible to redirect them to the M4 side for SPI1? BUT don’t know how!!
        1)SPI1 doesn’t seems to be enabled but SPI2/4/5 interfaces seems enabled.
        3)Clock Source Configuration: HSI for SPI4/5 and HSE for SPI1/SPI2, Does OSD32MP1-BRK contain an External oscillator?, because I am not able to configure HSE source clock for SPI1/2 in STM32CubeMX/IDE.

        ***************************************************************************************************************************

        We want to use only a production mode not an engineering one.

        Let me know if you need any other information/clarification.

        Thank you in advance and hoping a useful response!!

        BR,
        Ashvin

      Viewing 2 posts - 1 through 2 (of 2 total)