Enable RX pin pull-ups using AsynchroSerial component

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

Enable RX pin pull-ups using AsynchroSerial component

跳至解决方案
1,728 次查看
jgirard1
Contributor III

I am working with the HC(S)08 and have integrated the AsynchroSerial component.  I need to enable the pull-up on the RxD pin, so the pin does not float when the component is disabled.

 

There are no pull-up options for the port pin in the AsynchroSerial properties.

 

I see some pull-up options for Port E in the CPU component, but this is for unused pins only.

 

I tried adding a Init_GPIO component and of course this says there is a conflict with the AsynchroSerial component and it won't build.

 

Without just resorting to writing directly to the port register in the code, what is the correct way to control the pull-up register for the RxD pin?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,510 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

I am sorry, unforrtunatelly there is no such option available in PEx for HCS08 now. However it should be supported in the future within the planned PinMuxig tool. 

 

For now as workaround there is the only possibility to handle the pull-up functionality in user code.

 

best regards
Vojtech Filip
Processor Expert Support Team

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,511 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

I am sorry, unforrtunatelly there is no such option available in PEx for HCS08 now. However it should be supported in the future within the planned PinMuxig tool. 

 

For now as workaround there is the only possibility to handle the pull-up functionality in user code.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 项奖励
回复