Part Number: TDA4VM
Hi,
Based on my previous post and ti recommendation, I have a system up and running.
One clarification I would like is regarding pinmux config to the I/O pads in the MCU R5F/SBL/Uboot-SPL level in tiboot3.bin FW.
I have enabled couple of peripherals and the associated pinumx/pinctrl in the U-boot SPL device tree with "bootph-all" property. I expected the MCU R5F to configure the pads and apply pinctrl to the peripheral. I verifed the final device tree blob shows these nodes as "okay" and also has bootph-all tag. I disabled these on A72 Uboot + Linux and used it on a MAIN DOMAIN R5F core with FreeRTOS.
For some reason, the peripherals (MAIN UART1/FSS0_OSPI1) didn't come up and looked like under reset.
As a test, same peripherals worked fine when enabled in Linux and tested them with utils. So the linux driver is doing something different than my FreeRTOS app which narrowed it dowm to the pins themselves.
I had to apply the pinmux in my FreeRTOS application to bring up the peripheral and then use it.
This is different than what was recommended by TI in my earlier post.
What's going wrong in the Uboot-spl for k3-r5 ? It won't configure these peripherals even though the device tree says to do so ? What is the best way to manage this ?
I tried two versions of device tree updates and both didn't work :
1. Only setup pinmux pads, pinctrl but disable the peripheral
2. Setup pinmux, pinctrl and enable the peripheral
Thanks,
Prasanna