Use both GPIO and FGPIO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Use both GPIO and FGPIO

743 Views
jun1
Contributor V

Hi.

I am always indebted.
If I want to use FGPIO in addition to GPIO, do I need to make initial settings such as the direction register of FGPIO if I make initial settings such as the direction register of GPIO?
Or do I need to configure both if I want to use both GPIOs?
It seems that only FGPIO should be used, but I also want to use BME, so BME is GPIO based, isn't it?

jun

Labels (1)
0 Kudos
Reply
2 Replies

635 Views
jun1
Contributor V

I understand.
I am always grateful for your help.

jun.

0 Kudos
Reply

635 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi jun,

FGPIO space is alias to GPIO space. That is writing to FGPIO register also means writing to GPIO register. So, you needn't to write two times.

BME is GPIO based. The peripheral address space occupies a 516 KB region: 512 KB based at 0x4000_0000 plus a 4
KB space based at 0x400F_F000 for GPIO accesses.

Regards,

Jing