This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SYSCONFIG: how can I add a spi driver when in use the main domain?

Part Number: SYSCONFIG


Hi,

      I'm using AM62A, according to the RM, the main domain has a spi, but when I open a project of A53 or C7x core, I cann't  add see a driver of spi in syscfg tool.       

as well as Mcan,Only in mcu project can find Mcan and Mcspi.

SO how can I use the main domain spi? Seems like reversed.

Thanks.

  • Hi Jing,

    Thanks for your query.

    Looks like I need to dive into this.

    I confirmed that for AM62A when we simply select MCU-R5 example we see that both MCSPI and MCAN are shown for addition. Check the snapshot below.

    For MCU-R5:

    For the rest of the cores, I see that there is no option to add MCSPI or MCAN in the SysConfig.

    Please allow me sometime(preferably few hours) to get back on this.

    Regards,

    Vaibhav

  • Hello Jing,

    I have looked into this and figured out that while SysConfig is not showing the peripherals for configuration, I see that the device tree files have mentioned the MAIN Domain SPI and MCAN peripherals.

    For your ease of understanding you can check few of the attachments in the form of screenshot below.

    The DTS file mentioning PinMux Configuration for MAIN MCAN:

    The DTSI file mentioning MAIN SPI Peripheral:

    The DTSI file mentioning MAIN MCAN Peripheral:

    NOTE:

    In the last two attachments, you will have to set status = "disabled"  to status = "okay" in order to make sure the kernel recognizes the peripherals.

    I hope the above information is useful, please let me know in case of any other concerns.

    Regards,

    Vaibhav