我们希望我们的设备(STM32-F446RE运行Freertos + Telit ME310G1调制解调器)与AWS云通信。我们正在尝试遵循蜂窝接口库演示,特别是遵循此 - 图表
我们正在使用coremqtt代理,Mbedtls库, uart 和 Amazon Communication界面实现/common_io/iot_uart.c“ rel =“ nofollow noreferrer”> Amazon UART API实现。
UART使用115200波特率。
当前,当试图将第一个AT在命令发送到调制解调器时,当前在Cellular_Init函数上失败,特别是从上面的COMM接口发送函数调用HAL_UART_TRANSMIT_IT函数时。在调试时,我们看到USART1_IRQHANDLER被称为无限时间,并且通过UART通信发送了什么。
我们正在使用默认处理程序,是否需要以任何方式实施它?
void USART1_IRQHandler(void)
{
HAL_UART_IRQHandler(&huart1);
}
任何帮助将不胜感激。
提前致谢,
伙计
We want our device (STM32-F446RE running FreeRTOS + Telit ME310G1 modem) to communicate to the AWS cloud. We are trying to follow the Cellular Interface Library Demo, in particular following this- diagram
We are using coreMQTT Agent, MbedTLS libraries, the amazon communication interface implementation for UART and amazon UART API implementation.
UART using 115200 baud rate.
Currently failing on the Cellular_Init function when trying to send the first AT command to the modem, specifically when calling the HAL_UART_TRANSMIT_IT function from the above comm interface send function. While debugging we see that the USART1_IRQHandler is called infinite times and nothing is sent through the UART communication.
We are using the default handler, do we need to implement it in any way?
void USART1_IRQHandler(void)
{
HAL_UART_IRQHandler(&huart1);
}
Any help will be appreciated.
Thanks in advance,
Guy
发布评论
评论(1)
听起来像HW角度的UART线不处于良好状态(高)。
您是否检查并确保正确完成序列的功率? (Telit Pin上的功率应高)。
我希望您有一些逻辑可以将1.8V转换为3.3V,反之亦然。
您可以通过测量不同的电压来检查一切都可以吗?
如果您验证了上面的所有点。
在开始AT通信之前,您是否在电视侧进行重置?
这确保您不会将模块放入不可能的
yacine的数据模式
Sounds like the UART line from HW point of view are not in a good state (High).
Did you check and ensure that the Power On sequence is done correctly? (Power On telit pin shall be high).
I expect you have some logic to translate the 1.8v to 3.3v and vice versa.
Can you check by measuring the different voltage that everything is OK?
If you verified all the point above.
Do you perform a reset on the telit side before starting the AT communication?
This ensure that you don't leave the module into a data mode where no AT commande are possible
Yacine