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.

AM68A: video streams

Part Number: AM68A

Good day, colleagues,

I have questions regarding AM68A device,

1) How many video streams can the processor process in parallel? We plan 
to connect and store up to 16 IP cameras. As many of these as possible 
should also be displayed (split view). Where is the limit with FullHD 
video output? 


2) Can the Gigabit Ethernet connected to the MCU be selected as the boot 
source? 


3) Can the CPU use the MCU ethernet to copy video streams into the main 
memory and process them from there? How fast is the interconnect between 
MCU and CPU? 

Thank you,

Daria

  • Hi Daria,

    2) Can the Gigabit Ethernet connected to the MCU be selected as the boot 
    source? 

    Are you considering ethernet as the source for ROM boot mode or for TFTP boot?

    Can the CPU use the MCU ethernet to copy video streams into the main 
    memory and process them from there?

    You can use custom application on the CPU to get frames from MCU Ethernet and push them to memory or to some processing software.

    How fast is the interconnect between 
    MCU and CPU? 

    The interconnect can operate at gigabit rate (1Gbps), but there are some software constraints which limits the speed on R5 cores. Which CPU are you considering using for MCU Ethernet?

    Regards,
    Tanmay

  • Hi Daria,

    1) How many video streams can the processor process in parallel? We plan 
    to connect and store up to 16 IP cameras. As many of these as possible 
    should also be displayed (split view). Where is the limit with FullHD 
    video output? 

    Are you planning to stream 16 Cameras together? May I know what is the resolution that you are targeting and what is the FPS?

    Regards,

    Nikhil

  • Hi Nikhil,

    No, only 4-8 stream shall be displayed at once. The total
    resolution for video output shall be 1080p30 (FullHD, 30 fps). Every
    single camera has a smaller resolution (e.g. 960x540) in split views.

    Thanks,

    Daria

  • Hi Tanmay,

    Are you considering ethernet as the source for ROM boot mode or for TFTP boot?

    In document SPRUJ28C, Table 4-37, only MCU_RGMII is mentioned. That's what you mean with ROM boot?

    Can we bring up the MCU core and the CPU core with only MCU_RGMII and a combination of ROM boot and TFTP?
    Can a running Linux on the CPU use the MCU-RGMII to update itself via LAN connection?

     

    Which CPU are you considering using for MCU Ethernet?

    With CPU I mean the A72 cores of the AM68A(A72SS).
    We changed the system design: no video streams over MCU-RGMII. Wejust want to use this port for maintaince of the whole system. (updates,backup of stored video data to external medium (no realtime required), etc.)
    Is it possible to use the MCU-RGMII for this purpose?

    Thanks,

    Daria

  • Hi Daria,

    No, only 4-8 stream shall be displayed at once. The total
    resolution for video output shall be 1080p30 (FullHD, 30 fps). Every
    single camera has a smaller resolution (e.g. 960x540) in split views

    We could stream 8 streams in parallel in AM68A.

    Regards,

    Nikhil

  • Hi Daria,

    Can we bring up the MCU core and the CPU core with only MCU_RGMII and a combination of ROM boot and TFTP?
    Can a running Linux on the CPU use the MCU-RGMII to update itself via LAN connection?

    ROM_BOOT with Ethernet is actually not supported on the SoC. So you will not be able to use only ethernet to boot. But you will be able to use TFTP boot to boot into linux kernel from u-boot.

    With CPU I mean the A72 cores of the AM68A(A72SS).
    We changed the system design: no video streams over MCU-RGMII. Wejust want to use this port for maintaince of the whole system. (updates,backup of stored video data to external medium (no realtime required), etc.)
    Is it possible to use the MCU-RGMII for this purpose?

    Yes this is surely possible. One booted into linux, the MCU_RGMII will come up as a standard linux interface (eth0 by default). You can use this interfaces for your custom applications.

    Regards,
    Tanmay

  • Hi Tanmay,

    Where did I can see, that the CPU can access the MCU_RGMII?
    In document SPRUJ28C the table 3-91 descripe the connectivity matrix. In my opinion GIC is A72SS, C71SS, etc. (see Figure 1-1, top left corner).
    But MCU-RGMII (MCU_CPSW) does contain a 'N' at GIC? What do I missing?

    From a booted Linux in CPU (A72 cores), can we get access for periperial of the MCU like ADC, I2C, MCAN, ...? Where I can see it in the datasheet?

    Thanks,

    Daria

  • Hi Daria,

    MCU_CPSW2G is controlled by linux cpsw drivers. The data path happens through DMA. The driver sets up DMA channels to get the packets received over CPSW to A72. Hope this clarifies things.

    Regards,
    Tanmay

  • Hi Tanmay,

    Does it work the same way with other peripherals (I2C etc.)?

    Thanks,

    Daria

  • Hi Daria,

    Yes, you can use MCU domain peripherals like I2C, UART, CAN from A72. The nodes needs to be declared in the device-tree. If you look at [PSDK-linux-Install-Dir]/board-support/linux-[commit-hash]/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi, you will see the peripherals from MCU domain which the default SDK can use from A72. Care needs to be taken that it is not being used by some other core.

    Regards,
    Tanmay