K32L2A USB pins as UART? Reference Manual Does not Explain

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

K32L2A USB pins as UART? Reference Manual Does not Explain

1,491件の閲覧回数
bobpaddock
Senior Contributor III

In the K32L2A Reference Manual in the USB section, Chapter 51, 51.4.24 "USB Control Register (USBx_USBCTRL) states:

Bit 5: UART Signal Channel Select. [Tx/Rx on DP/DM or DM/DP selection.]

Bit 4: Selects USB signals to be used as UART signals. [Enables the above.]

 

What is this talking about?  If the USB module is not used for USB its pins can be used as a fourth UART?  There is no other mention of this UART anyplace else other than this section.

It is clearly NOT referring to the USB CDC Serial Class.

How is the baud set?  Bit format? Where to read/write data bytes etc...

As the USB Pins frequently already come out of the device, this would be a very useful debugging feature.

 

 

0 件の賞賛
返信
1 返信

1,406件の閲覧回数
bobpaddock
Senior Contributor III
"Thanks for your patience, this is a error on the reference manual the K32L2A does not support this USB feature, I've already escalate this to the support team. If you are interested on this feature, look into the KS22 reference manual. You are correct, this feature allow simple debugging capabilities."
0 件の賞賛
返信