This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-AM243: How can I read gpio Input data in the SBL?

Part Number: LP-AM243

Tool/software:

Hi team,

I'd like to read GPIO in "mcu_plus_sdk\examples\drivers\boot\sbl_ospi\am243x-lp\r5fss0-0_nortos\main.c", before Bootloader open.

I tried two way to read GPIO.

First way,

including  <string.h> and memcpy from address 0x601020.

Second way,

including <drivers/gpio.h> and  using GPIO_pinRead() after GPIO_init().

However, I couldn't read any GPIO state by both way.

It's able to read gpio in the SBL?

Best regards,

Oyama