Maker Pro
Maker Pro

How is the strategy to test UART ( auto test, if error show on led )

B

Boki

Jan 1, 1970
0
Hi All,
Simple question for you. : )

I am going to test a UART, I have a embedded CPU, so I can
control it.

but the clinet still sleeping at that time I testing UART.

Server <=== UART ====> Clinet

Do I have to make sure clinet OK first ?

Does Only send and receive data can make sure UART OK?

Thank you very much for your help.
Best regards,
Boki.
 
W

Winfield Hill

Jan 1, 1970
0
Boki wrote...
Hi All,
Simple question for you. : )

I am going to test a UART, I have a embedded CPU, so I can
control it.

but the clinet still sleeping at that time I testing UART.

Server <=== UART ====> Clinet

Do I have to make sure clinet OK first ?

Does Only send and receive data can make sure UART OK?

Thank you very much for your help.
Best regards,
Boki.

Simple answer for you, Boki. : )

Add switchable loopback
 
J

John Smith

Jan 1, 1970
0
Boki said:
Hi All,
Simple question for you. : )

I am going to test a UART, I have a embedded CPU, so I can
control it.

but the clinet still sleeping at that time I testing UART.

Server <=== UART ====> Clinet

Do I have to make sure clinet OK first ?

Does Only send and receive data can make sure UART OK?

Thank you very much for your help.
Best regards,
Boki.
I think you need to define what you mean by 'test'. It may be possible to
put the UART into a loopback mode, in which case you will test
Server---UART

However it doesn't test anything beyond the UART (e.g. level translators,
cables etc.)

You could also test for the state of (I'm going to get this wrong) DTS,CTS
lines but only if you know the status expected.

Can't think of anything else
 
B

Boki

Jan 1, 1970
0
Got the ideal, I will try. Thanks!

Best regards,
Boki.
 
Top