hi all,
my requirement is to receive some (let say 200 bytes) of UART data and stop receiving then process the received data and then again receive 200 bytes stop receiving, process the received data and so on till the end of data (let say 1000 bytes ). Is there any API's or can we make CTS & RTS pins according to my wish so that receiving data can be controlled. Can we access CTS & RTS pins??
thanks in advance
how to stop receiving of data from UART
-
- Posts: 51
- Joined: Sat Mar 17, 2018 4:49 am
how to stop receiving of data from UART
Last edited by ningappa BS on Fri Aug 24, 2018 10:21 am, edited 1 time in total.
Re: how to stop receiving of data in UART
Howdy,
Let me suggest having a read at this part of the documentation relating to UART.
https://esp-idf.readthedocs.io/en/lates ... /uart.html
Let's see if after we read this how many of the questions still remain.
Let me suggest having a read at this part of the documentation relating to UART.
https://esp-idf.readthedocs.io/en/lates ... /uart.html
Let's see if after we read this how many of the questions still remain.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 51
- Joined: Sat Mar 17, 2018 4:49 am
Re: how to stop receiving of data in UART
can we make CTS pin high or low according to our wish so that we can stop and start communication manually.If yes, is there any example kindly share.
-
- Posts: 9724
- Joined: Thu Nov 26, 2015 4:08 am
Re: how to stop receiving of data in UART
You can map whatever pin you want to use as a GPIO, and manually control it that way.
-
- Posts: 51
- Joined: Sat Mar 17, 2018 4:49 am
Re: how to stop and resume receiving of data from UART
am setting and resetting the gpio pin which am using as a CTS pin to start and stop the UART communication but still am not getting any effect on communication, can you please share any UART communication code which is controlling by CTS pin so that i will get some idea. Any suggestions can be appreciated.
thanks in advance
thanks in advance
-
- Posts: 51
- Joined: Sat Mar 17, 2018 4:49 am
Re: how to stop and resume receiving of data from UART
ningappa BS wrote:am setting and resetting the gpio pin which am using as a CTS pin to start and stop the UART communication but still am not getting any effect on communication, can you please share any UART communication code which is controlling by CTS pin so that i will get some idea. Any suggestions can be appreciated.
thanks in advance
issue solved.......
Who is online
Users browsing this forum: No registered users and 103 guests