Hi,
I want to build an application to share VCP2 across 3 cores of TCI6488 Device. My intent is to use the EDMA3 for VCP2 communication. I have following things in my mind
Core 0:
1. Init VCP2 and necessary hardware init
2. Check the status of VCP2 (using hardware sem), to see if it is free. if not, wait till is it free
3. When free, configure and trigger the EDMA3
4. Wait for completion interrupt from EDMA3
5. Release the VCP2 for other cores
Core 1 and 2:
1. Check the status of VCP2 (using hardware sem), to see if it is free. if not, wait till is it free
2. When free, configure and trigger the EDMA3
3. Wait for completion interrupt from EDMA3
4. Release the VCP2 for other cores
I am struck at Point 4 (core 0)/Point 3(core 1,2), i.e. how to get the interrupt from shared EDMA3.
EDMA3 has 2 channels (TX and RX) for VCP2 and has some shared regions concept. So is it possible to use different regions for same channels across cores?
Another option for me is to build the application for VCP2 and EDMA3 communication on one core (say master core) and rest of the cores sending request to this master core.
Please provide me the inputs on first option.
Thanks, Sumit