I am using STM32F103C8 board and CubeMX to create the code. I have connected the M66 to STM32 to UART2 port. I try to send some commands to Quectel M66 via STM32's UART port. It receives the command but throws some junk characters. I have set the bau...
I am using Atollic Truestudio and J-link to flash my program, when I try to debug and run it doesn't work ?? I don't know how to flash my program ?? Any help would be greatly appreciated ...Thanks in advance...
I am new to STM32 and CubeMX. I need to write a program to send and receive data from a module via UART port. I have to send(Transmit) a data to that module(for eg. M66). Then I would return to do some other tasks. once the M66 send a response to tha...
This has nothing to do with my program, can I change this? __weak void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
{
/* Prevent unused argument(s) compilation warning */
UNUSED(huart);
/* NOTE: This function Should not be modified, when ...
I have found out the problem... I needed to transmit and receive in these formats.... I missed those (uint8_t *). To Transmit - HAL_UART_Transmit(&huart2, (uint8_t *)buffer, strlen(buffer), 100);To Receive - HAL_UART_Receive(&huart2, (uint8_t *)rec_b...
does Delay matters for receiving data from particular UART port? I did to see visually my code flow.. otherwise it would be fast and i could not see the flow..that's why i put it.