Use both GPIO and FGPIO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Use both GPIO and FGPIO

1,177 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

1,069 次查看
jun1
Contributor V

I understand.
I am always grateful for your help.

jun.

0 项奖励
回复

1,069 次查看
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