TDA4-EVM is a reference development platform with super set of peripherals to showcase the system-on-chip (SoC) capability. The customer develops board the based on the use cases that need to be supported on their platform. Typically, there is a cut down on the peripherals, change in the peripheral parts chosen, changes in the number of instances of a peripheral supported eventually leading to a different design. So, on top of the default SDK, the customer needs to implement custom pinmux, DDR, PMIC, console universal asynchronous receiver/transmitter (UART) related changes as per the board design. This application note addresses the changes needed on top of the SDK and describes the common issues encountered during a custom TDA4 board bring up.
All trademarks are the property of their respective owners.
Custom boards can have different PMICs sourcing the SoC voltage domains. Choosing different PMIC can be due to cost benefits, different power requirements and availability. The PMIC configuration is typically done in the safety aware MCU R5F0. R5 SPL primarily configures the CPU rail with AVS compensated voltages. Changes will be needed for custom PMIC in 2 places:
&wkup_i2c0 {
u-boot,dm-spl;
tps659413a: tps659413a@48 {
reg = <0x48>;
compatible = "ti,tps659413";
u-boot,dm-spl;
pinctrl-names = "default";
pinctrl-0 = <&wkup_i2c0_pins_default>;
clock-frequency = <400000>;
regulators: regulators {
u-boot,dm-spl;
buck12_reg: buck12 {
/*VDD_MPU*/
regulator-name = "buck12";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1250000>;
regulator-always-on;
regulator-boot-on;
u-boot,dm-spl;
};
};
};
&wkup_vtm0 {
vdd-supply-2 = <&buck12_reg>;
u-boot,dm-spl;
};
CONFIG_DM_PMIC=y
CONFIG_PMIC_TPS65941=y
CONFIG_DM_REGULATOR=y
CONFIG_SPL_DM_REGULATOR=y
CONFIG_DM_REGULATOR_TPS65941=y