Bug: Pin expert does not set GPIO output mode (PDDR is not set)

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

Bug: Pin expert does not set GPIO output mode (PDDR is not set)

1,851件の閲覧回数
davenadler
Senior Contributor I

Kinetis Expert Version 2.0, PC version, starting with Freedom K64F board configuration.
I'm using the PC version as the online "server is temporarily unavailable".

I specified a number of GPIO with Direction=Output.

The generated code does not set PDDR and leaves the pins in input mode.

169551_169551.PNGKinetis Pin Expert Doesn't set up GPIO output.PNG

 

What's going on? Should we not use this tool?

Thanks,

Best Regards, Dave

ラベル(1)
0 件の賞賛
返信
1 返信

1,501件の閲覧回数
MarekTrmac
NXP Employee
NXP Employee

Hi,

Pins tools does generate code for the GPIO peripheral, so direction is not written to registers. There is a macro provided with selected value (the macro is available only if identifier is assigned to the routed pin).

There is plan to provide Peripherals tool, where all peripherals (including GPIO) will be configurable.

Regards

Marek