hi Platon,
Thanks for your reply.
S32V234 platform we can not see the function siul2_gpio_get() for reading pads.
As the S32V234 Reference Manual, we should config the registers MSCR, IMCR and GPDI for reading.
as the below we want to read Port PB3, but can not success.
u32 config2 = (0<<0 | 0<<21 | 1<< 20 | 1<< 19 | 7<< 8);
writel(config2 , SIUL2_MSCRn(19));
u32 config1 = 2;
writel(config1 , SIUL2_IMCRn(273));
get_value = readl(SIUL2_GPDIn(19));
printf("Board: test_gpio_i2c get_value=%x\n",get_value);
before reading , I have set the pin to high level, but get the value is still 0. Could you tell us what's wrong with this? I don't know how to set the GPDI register. Pls help, Thanks.