GPIO control in MQX

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

GPIO control in MQX

2,399件の閲覧回数
admin
Specialist II

Hi,

 

I would like to avoid that MQX RTOS controls all pins, I would like to control directly some pins without interacting of MQX. I have to control some pins immediately without wait fopen and ioctl. This venture is it too dangerous? Are there problems of MQX instability if I modify library for doing this operation?

 

Thanks

5 返答(返信)

1,059件の閲覧回数
admin
Specialist II

Hi JuroV !

for disabling the MQX command of a one port I have modify the structure gpio_global_pin_map. Is the right way or I have to modify the code in other locations ?

 

 

Thanks for the support

0 件の賞賛
返信

1,059件の閲覧回数
JuroV
NXP Employee
NXP Employee

Can you please explain, what does 'disabling the MQX command of a one port' mean?

You want GPIO driver not to control some port? If this is the case, then the answer is: forget about that, modifying pin_map structure is prohibited and can lead to unexpected results.

0 件の賞賛
返信

1,059件の閲覧回数
admin
Specialist II

I want GPIO driver  don't control some port ... I can't do this and if I have to control some port immediatly (microsec) ?!?!?

0 件の賞賛
返信

1,059件の閲覧回数
JuroV
NXP Employee
NXP Employee
You can't do that. Use your own direct GPIO register addressing in the application.

1,059件の閲覧回数
JuroV
NXP Employee
NXP Employee

Hi. There is nothing to be dangerous, it is one of ways of handling pins in MQX with ColdFire.

0 件の賞賛
返信