UART2 (PTD2&3)NOT WORKING

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

UART2 (PTD2&3)NOT WORKING

512件の閲覧回数
asthraprojects
Contributor I

i am using frdmk20d50m board ,when i send data from uart2  it is working but receiving of UART2 not working

my reading is like this for(PTD2 &3)

while()

{

LedUart_ReceiveBlock(LedUart_DeviceData,&Buf,5);

printf("%s",Buf);

}

it is not printing any data

i AM USING Kinetis design studio2.0

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

383件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi asthra,

I am using FRDM-K20D50M(SCH Rev D) with KDS3.2.0.

Refer the Typical Usage of Component Serial_LDD.

Serial_LDD Typical Usage.jpg

After input 'e' at UART2_RX(PTD2 Pin8 J2), I can receive the 'Hello world' from UART2_TX(PTD3 Pin10 J2).

UART2 PTD2 PTD3 polling.jpg

I have attached the test project.

Best Regards,

Robin

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信