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.

AM625: Controlling MAIN domain pins from MCU domain and vice versa

Part Number: AM625

Tool/software:

Hi Team,

My customer has question about controlling pins in the MAIN domain from the MCU domain and its real-time response/latency. They do not have enough pins in the MCU domain and want to control the MAIN domain pins from MCU domain.They are concerned with real-time response because they want to use the pins for the following purpose:

  • ADC control (through SPI)
  • Motor control (through SPI and GPIO)
  • LINE sensor control (control through GPIO and sync with ADC)

Can you answer the questions below in detail? 

  1. If they want to control SPI and GPIO in MAIN domain from the MCU domain what latency values should they expect? Should they be concerned with latency and its effect on real-time response?
  2. What effects will there be the MAIN domain if they want to control SPI and GPIO in MAIN from MCU domain? For example, will performance decrease in MAIN domain if they try to control peripherals from MCU domain? 
  3. Are there interrupts they will not be able to use if they try to control SPI and GPIO in MAIN domain from MCU domain? Should they be aware of anything regarding interrupt usage?

On the other hand, in the situation where they try to control SPI and GPIO in MCU domain from MAIN domain, can you answer the following questions?

  1. Are there interrupts they will not be able to use? Should they be aware of anything regarding interrupt usage?
  2. What are ways for real-time transmission between MAIN and MCU domain? How can they do this? Is there any sample code for this they can reference?
  3. Is there any way they can transfer data taken from the ADC that is connected to MCU domain to the MAIN domain without having drops in MAIN domain performance?
  4. What are other ways to increase real-time performance?

Best regards,

Mari Tsunoda