How can one work with UART in Full Duplex Mode having simultaneous transmit and receive operations?

My answer to How can one work with UART in Full Duplex Mode having simultaneous transmit and receive operations?

Answer by Shaunak Agastya Vyas:

Finally I solved the problem myself. I am able to get the communication working now. I am using FIFO Buffer of UART Module for that. My ARM1 is more critical than ARM2. As this is asynchronized communication, I fill the FIFO of ARM1 first with 8 bytes of data (that is my requirement). It takes around 0.56 ms (8*8/115200) to transmit and fill the Receiver FIFO of ARM2. After receiving data, I immediately store it in an array to get processed and flush the receive FIFO buffer. I have set the FIFO receive interrupt limit as 8 bytes. I am not using transmit interrupt at all. Rather I am flushing the transmit buffer before putting data in it. The ARM2 to ARM1 transmit happens the same way. So, FIFO has helped me to solve this and do the communication without setting anyone as master or disabling interrupts.
How can one work with UART in Full Duplex Mode having transmit and receive functionalities working simultaneously? – ResearchGate. Available from: https://www.researchgate.net/pos… [accessed Dec 18, 2016].

How can one work with UART in Full Duplex Mode having simultaneous transmit and receive operations?

Advertisements

Is it possible to make use of micro controllers instead of using MCB and ELCB for protection in house?

My answer to Is it possible to make use of micro controllers instead of using MCB and ELCB for protection in house?

Answer by Shaunak Agastya Vyas:

Yes, it is possible. What you can do is you can drop down the line voltage and current to microcontroller level, measure the quantities using ADC of microcontroller, set the threshold levels of trip and do the same job. If you use some kind of DIP switches, then you can make this threshold level programmable using the combination of the switches.

  • Shaunak Agastya Vyas

Is it possible to make use of micro controllers instead of using MCB and ELCB for protection in house?

Is it possible to be incapable of feeling love?

My answer to Is it possible to be incapable of feeling love?

Answer by Shaunak Agastya Vyas:

The person who has this question, has to ask himself/herself: Is it impossible to be capable of feeling love? The answer has to be a big “NO”. Love is life.

Shaunak Agastya Vyas

Is it possible to be incapable of feeling love?

Why do I break down and cry every time my parents yell at me?

My answer to Why do I break down and cry every time my parents yell at me?

Answer by Shaunak Agastya Vyas:

That is called parental stress. I have a question:

“In the age of evolution, nobody can guide anybody based on her/his experience in many aspects. For example, the way I am working in an engineering firm now, will not be the same way the next generation to me will be working in. Ofcourse, there may be some similarities, but those would be taken care of without any guidance. That doesn’t conclude that the next generation doesn’t need guidance or care from me or my previous generation. But this caring must not turn into overcaring. There is a dignity that has to be maintained when an experienced person shares her/his experience with the novice. Unfortunately, the novice people are surrounded by so many experienced people carrying their ego and arrogance accumulated along with experience and that hurts. There was never anything such as generation gap and there will never be. It’s just a thoughtpool gap that is not at all related to age. There is a certain threshold age when guidance should be given only if it is asked. Diplomacy isn’t required to solve certain issues. Blunt people are better than the diplomatic ones. It is well said that experience is the best teacher, but the best teacher doesn’t teach arrogance and ego as well. When some beautiful brains pop up with innovative ideas, the experienced brains kill those ideas by telling: “You haven’t seen the world yet, I have seen the world and I tell you this is bullshit.” Is this kind of attitude really required?”

I hope you have got your answer by this question.

Shaunak Agastya Vyas

Why do I break down and cry every time my parents yell at me?