« Return to Thread: UART0 receive problem

Re: UART0 receive problem

by Ethernut :: Rate this Message:

Reply to Author | View in Thread

Prasad.Nagapati@... wrote:

> But I am getting random data, what could be the reason, do I need an
> inverter before connecting to the Rx of UART1?

Typically not, but could be. I'm not familiar with smart cards.


> Please help me regarding this. Sample code below

IMHO, this code is too complicated for testing. I recommend to remove
everything which is not related to the smart card sniffing. Remove all
the network stuff. Simply use DEV_DEBUG with stdio to output the data.

If you still get random data with minimalist code, then most likely the
problem is not caused by a bug in your application.

Harald


_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

 « Return to Thread: UART0 receive problem