MPC5606B : EMIOS Module as GPIO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5606B : EMIOS Module as GPIO

1,396件の閲覧回数
raghavendrapura
Contributor I

Hello,

 

I am little confused on the usage of EMIOS as GPIO.

 

I want to use EMIOS 1 module as general purpose input/output and i want to configure it through RAPPID Tool. What are all the recommended settings to be done?

 

As an input,

Which register of EMIOS should i check to read the input which is connected to the corresponding Emios port.

 

As an output,

Which register of EMIOS should i use to trigger the output which is connected to the corresponding Emios port.

 

Regards,

Raghavendra P

ラベル(1)
タグ(2)
0 件の賞賛
返信
2 返答(返信)

1,163件の閲覧回数
mpc5676r
Contributor II

HI Raghavendra Puranik ,Petr

now I am also working on gpio modes of emios for mpc5676r . can I know where we should go with gpio input mode and out put mode how this gpio modes differ from other modes

please Raghavendra Puranik can you have sample gpio I am trying I have not getting clearly .

0 件の賞賛
返信

1,163件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I do not give you a hint for the RAppID setting.

But generally, the pad itself should be programmed to eMIOS function  by PCR[PA] field in case of output and IBE bit for the input.

The eMIOS GPIO input /output mode is set by programming the MODE field of CCR register.

For GPIO input mode, the input pin status can be determined by reading the UCIN bit.

For GPIO output mode, the unified channel is used as a single output port pin and the value of the EDPOL bit is permanently transferred to the output flip-flop.

BR,

Petr

0 件の賞賛
返信