|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
The code is: #include <device.h> #include <misc/printk.h> #include <uart.h> #include <zephyr.h> #define SYS_LOG_DOMAIN "UART_DRIVER" #include <logging/sys_log.h> static void (*__uart_callback)(u8_t) =
The code is: #include <device.h> #include <misc/printk.h> #include <uart.h> #include <zephyr.h> #define SYS_LOG_DOMAIN "UART_DRIVER" #include <logging/sys_log.h> static void (*__uart_callback)(u8_t) =
|
By
...
· #1219
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
I am not at home. I’ll take a look if I can share that with you. De nada. Abraço, Rodrigo
I am not at home. I’ll take a look if I can share that with you. De nada. Abraço, Rodrigo
|
By
...
· #1218
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
No, I haven't. Can you share a piece of code of how to do this? Obrigado Rodrigo!
No, I haven't. Can you share a piece of code of how to do this? Obrigado Rodrigo!
|
By
Gustavo FN
· #1217
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
I am always using a blocking way to write and a non-blocking way to read. Have you tried?
I am always using a blocking way to write and a non-blocking way to read. Have you tried?
|
By
...
· #1216
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
Hi Rodrigo, Yes the pins are okay. I can confirm the STM32 is sending a testing message (I connected the sending UART to my computer and read the input). Looks like the code to read the response is no
Hi Rodrigo, Yes the pins are okay. I can confirm the STM32 is sending a testing message (I connected the sending UART to my computer and read the input). Looks like the code to read the response is no
|
By
Gustavo FN
· #1215
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
Gustavo, Are you sure the pins are setup ok? You can try to use a ftdi connector to be sure. Do you have an dts overlay? Best regards, Rodrigo
Gustavo, Are you sure the pins are setup ok? You can try to use a ftdi connector to be sure. Do you have an dts overlay? Best regards, Rodrigo
|
By
...
· #1214
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
Thank you Stefan, I'll take a look. I'll share here the simple code I'm doing but so far it is not working. The pins PA9 and PA10 of my STM32 are connected to an adapter to serial port (TX->RX, RX->TX
Thank you Stefan, I'll take a look. I'll share here the simple code I'm doing but so far it is not working. The pins PA9 and PA10 of my STM32 are connected to an adapter to serial port (TX->RX, RX->TX
|
By
Gustavo FN
· #1213
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
Hello Stefan,
By
Paul Sokolovsky
· #1212
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
Hey Gustavo, I had the same problem some moths ago. Some help to get into it: 1.) check how uarts work in ZephyrOS(poll/interrupt driven) https://github.com/zephyrproject-rtos/zephyr/tree/master/tests
Hey Gustavo, I had the same problem some moths ago. Some help to get into it: 1.) check how uarts work in ZephyrOS(poll/interrupt driven) https://github.com/zephyrproject-rtos/zephyr/tree/master/tests
|
By
Stefan Jaritz
· #1211
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
Hi everyone, I am new with Zephyr OS and I have a STM32 nucleo l4rz5i board. I'm using the default UART2 port for console output and I would like to use uart1 to connect to a LTE modem, to be able to
Hi everyone, I am new with Zephyr OS and I have a STM32 nucleo l4rz5i board. I'm using the default UART2 port for console output and I would like to use uart1 to connect to a LTE modem, to be able to
|
By
Gustavo FN
· #1210
·
|
|
How to setup an UART with flow control (RTS&CTS )?
#uart
#flowcontrol
#stm32
Hi Stefan There is a PR opened on this exact topic: https://github.com/zephyrproject-rtos/zephyr/pull/8306 I suggest you have a look. Hih Cheers Erwan
Hi Stefan There is a PR opened on this exact topic: https://github.com/zephyrproject-rtos/zephyr/pull/8306 I suggest you have a look. Hih Cheers Erwan
|
By
Erwan Gouriou
· #945
·
|
|
How to setup an UART with flow control (RTS&CTS )?
#uart
#flowcontrol
#stm32
Hey, I am playing around with Zephyr OS and a STM32F412 on my own board. Now I like to use uart3 to connect to a other SOC. As far as I have seen, is no simple uart example in the sample section. So i
Hey, I am playing around with Zephyr OS and a STM32F412 on my own board. Now I like to use uart3 to connect to a other SOC. As far as I have seen, is no simple uart example in the sample section. So i
|
By
Stefan Jaritz
· #942
·
|