Re: UART with Nucleo-H743zi2 board using Nuttx

2021-09-03 Thread Alan Carvalho de Assis
Hi Rushikesh, The ttyS0 is the console serial port. Try to study about Linux to understand these concepts. BR, Alan On Friday, September 3, 2021, rushi ghatkar wrote: > Hi, > > I have run sample serial examples like* serialblaster*, *serialrx* but I > have one doubt is that, when we give dev

Re: UART with Nucleo-H743zi2 board using Nuttx

2021-09-02 Thread rushi ghatkar
Hi, I have run sample serial examples like* serialblaster*, *serialrx* but I have one doubt is that, when we give devpath as* /dev/ttyS0* , we are able to connect and communicate with the nsh console. Is it really a* uart/usart communication* happening or are we just using virtual com port to com

Re: UART with Nucleo-H743zi2 board using Nuttx

2021-08-31 Thread Alan Carvalho de Assis
You need to enable: USARTx peripheral, setup your Driver -> Serial to correct baudrate, etc and then you can run the serialrx example. BUT you need to setup CONFIG_EXAMPLES_SERIALRX_DEVPATH to the right port, i.e.: /dev/ttyS1 Before mastering NuttX it is important that you know Linux, otherwise y

Re: UART with Nucleo-H743zi2 board using Nuttx

2021-08-30 Thread rushi ghatkar
Hi Alan Sir, Thanks for your reply. The serial driver already exists for STM32H7. Are we willing to exchange data over serial port? -> Yes sir. I want to transmit and receive data using uart. Just do the same thing you do on Linux: open(), tcflush(), tcsetatt -> these functions we have to use wh

Re: UART with Nucleo-H743zi2 board using Nuttx

2021-08-30 Thread Alan Carvalho de Assis
Hi Rushikesh, The serial driver already exists for STM32H7. Are we willing to exchange data over serial port? Just do the same thing you do on Linux: open(), tcflush(), tcsetattr(), etc. You need to use /dev/ttyS1..N the /dev/ttyACM0 is for USB/Serial example. BR, Alan On 8/30/21, rushi ghatk

UART with Nucleo-H743zi2 board using Nuttx

2021-08-30 Thread rushi ghatkar
Hi, I am trying to create my own uart serial driver which includes transmit and receive data . For that i was trying to understand a sample example which is given already. For this example given file are mentioned below, In nuttx folder, 1. nuttx/drivers/serial.c 2. nuttx/include/nuttx/serial/se