Other Parts Discussed in Thread: TDA4VH-Q1, UNIFLASH
Tool/software:
Hello,
I had previously created a thread where we wanted to use the TDA4VH-Q1 processor in our project and asked about a request regarding the boot time.
We obtained the J784S4 EVM and started working. At first, since FreeRTOS operating system is supportted, we aimed to bring up the DSP and R5F processors on the EVM.
To summarize our work briefly.
- First, we loaded simple "Hello World" applications to the c7x and R5 processors in the MAIN domain via JTAG. Here, we activated the UART_stdio API and reached the UARTs on the EVM. (Except UART3)
- Since we will be taking measurements via OSPI boot, we compiled the sbl_boot_test application provided with the SDK by adding a few UART_printf operations to the mcu1_0 processor and created a multicore image and ran our applications. Here we used the standard SBL included in the SDK. (sbl_ospi and sbl_xip)
- We performed inter-core communication operations by adding the IPC module.
- Then we tried to look at some memory reaching performances by taking some small measurements.
- We will continue our work by getting the Ethernet up and running. Also, we will try to do SBL customizations in order to have faster boot times.
Here, we have a few questions during these studies.
- We could not reach the UART3 coming out of the J49 connector on the J784S4EVM. Is there a setting that needs to be made for this?
- While examining the TRM, we saw that the processor has a boot mode called Fast xSPI, when we set the Boot Switches on the EVM to Fast xSPI, the boot process did not start. Does the EVM support this boot mode?
- We saw that the Ethernet sample applications were generally on the first R5F processor (mcu2_0) in the MAIN domain. Is there such a requirement for Ethernet use?
- It seems that MMA only supports 8/16/32-bit integers. What are the fastest cores and methods to perform matrix multiplication for doubles, and do you have any benchmarks and test codes?
- Do you have benchmarks for reading and writing (1-100MB) to RAM? When we tried to perform memcpy (DDR to DDR) in C7x DSPs (FreeRTOS, J784S4 EVM), 1MB took 2ms, which seems very slow. Maybe we did something wrong; do you have any datasheets or codes to compare?
- It seems that the A72 does not have FreeRTOS support, but if we want to perform some algorithms on A72 cores, what is the suggested way to transfer data and communicate between bare-metal A72 and FreeRTOS C7x?
Thanks,
Buğra