Part Number: DRA76P
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.
Part Number: DRA76P
Oleksandr
Can you review and confirm if you really want to configure and use the switch in dual-emac mode.
In which case i am assuming , you would want to emulate as if there are 2 independent ports with one being assigned to linux(a5) and the other to rtos(m4)
For this POC to work the common registers (CPSW core) for control path have to be owned and initialized by one of the cores.
For Data path you can have the traffic mapped to independent DMA channels and potentially manage from independent cores.
For Transmit you can have independent Tx DMA channels and use directed mode to send out on respective ports
For receive need to confirm if we can map the traffic from each port to an independent DMA channel.
Lastly interrupt handling and acknowledgement from 2 cores will be a challenge, hence using interrupt for one and polling mode from the other core would be better tradeoff
Does the CPDMA process the own channels in parallel or one by one (from channel number 0 to 7)?
CPDMA processes own channels in parallel but there is only one interrupt line/register for all the interrupts. Hence a single core can access interrupt registers.
You can register interrupts on all cores just to get notification and check if your channel has interrupt raised.
Another option which can be employed is use of polling instead of an interrupt. You can configure timers at the same interval as of pacing on each core and check of packet Rx/TX.
Regards,
Prasad