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.

AM2432: Can an application in the MCU domain use an I2C peripheral in the MAIN domain?

Part Number: AM2432
Other Parts Discussed in Thread: SYSCONFIG

Hello,

I am trying to access the I2C2 peripheral which is part of the MAIN domain from an application that is running in the MCU domain. I am able to modify the I2C2 registers using the RAT module, however I don't see a way to redirect the generated interrupts to the MCU domain. Is it possible to accomplish this?

Thank you

  • Hi Joshua,

    I am trying to confirm with the team (many folks are out of office right now), but I do not believe the modules are intended to be fully functional across domains.  If you look at the AM243 TRM, in the I2C Overview section (12.1.3.1), it shows the 6 instances of I2C and which domain they are available in (table 12-234).  As you can see in this table, each instance is only flagged as being available in a single domain.

    Thanks,
    Mike

  • Hi Mike, were you able to get a final word on this matter?

    Thanks,

    Joshua

  • Hi Joshua,

    I was finally able to get some confirmation today.  The AM243x device has a Crossbar module that allows interconnection between the modules (and across MCU and MAIN domains).  Take a look at the System Interconnect chapter of the AM243x TRM, but this is how you would access MAIN I2C interrupts in the MCU domain.

    Thanks,
    Mike

  • Hi Mike, I reread that interconnect chapter, along with the interrupt chapter, and it only seems that some of the GPIO interrupts can be MUXed from the MAIN domain to the MCU domain. None of the other connectivity peripheral interrupts that are generated from MAIN can be routed to MCU, however several interrupts from MCU can be routed to MAIN. 

    Furthermore it seems the HwiP driver from the AM243x SDK and the TI SysConfig support the option of communication with peripherals from the MCU domain with an application running in the MAIN domain but not the other way around which is what I need.

    Please let me know if I am missing something, and if so is there an example I can refer to?

  • Joshua,

    Let me see if I can get someone with more expertise on crossbar in AM243 to come help out.

    Thanks,

    Mike

  • Hello Joshua,

    It's mentioned in the Release Notes that cross functionality between 2 domains are not supported as of now.
    But in order to understand it more, can you please give us more background for this requirement?

  • Hi Sudeshna, it is not a requirement. We are putting the application code for that I2C peripheral in the main domain but it would have been convenient for us if we could control it from the m4.