Hi,
We test application running on a hardware platform which is based on AM3715 CPU and the PMIC is TPS65930. We found that it always crash during testing
and the problem is related to SmartReflex. After we change some configurations of SmartReflex described as below, the application crash problem disappear:
There is a structure in file kernel/arch/arm/mach-omap2/voltage.c
static struct omap_volt_data omap36xx_vddmpu_volt_data[] = {
VOLT_DATA_DEFINE(OMAP3630_VDD_MPU_OPP50_UV, OMAP3630_CONTROL_FUSE_OPP50_VDD1, 0xf4, 0x0c),
VOLT_DATA_DEFINE(OMAP3630_VDD_MPU_OPP100_UV, OMAP3630_CONTROL_FUSE_OPP100_VDD1, 0xf9, 0x16),
VOLT_DATA_DEFINE(OMAP3630_VDD_MPU_OPP120_UV, OMAP3630_CONTROL_FUSE_OPP120_VDD1, 0xfa, 0x23),
VOLT_DATA_DEFINE(OMAP3630_VDD_MPU_OPP1G_UV, OMAP3630_CONTROL_FUSE_OPP1G_VDD1, 0xfa, 0x27),
VOLT_DATA_DEFINE(0, 0, 0, 0),
};
The underlined numbers affect SRn.ERRCONFIG[7:0] ERRMINLIMIT. If we change them all less than or equal to 0xf4, the application crash will not occur. I do not
know why it works? If we can change this configuration casually?