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,850 次查看
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,500 次查看
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