Nihaludeen
Member level 2
Hi friends, I am trying to interface GSM with my ARM controller [stm32f103c8t6].
I knew a little about the working of GSM,
- By sending the "AT" command to GSM, it will respond with a "OK" message.
Before interfacing GSM with arm, i learned how to use HAL_uart function (generated from cube MX). I tried to transmit and receive data to "arm and terminal(pc)" , and it works good in HAL_uart function.
Problem:
- But when i connect to GSM with ARM, No response is getting from GSM.
- I tried another method, i use uart max232 with GSM to transmit and receive data it works fine. [sending data to pc terminal via max232].
I attached the uart communication diagram arm,gsm and max232.(I use max232 to communicate with pc since i have only st-link v2 which has no tx and rx).
Also the code generated from cube mx.
I knew a little about the working of GSM,
- By sending the "AT" command to GSM, it will respond with a "OK" message.
Before interfacing GSM with arm, i learned how to use HAL_uart function (generated from cube MX). I tried to transmit and receive data to "arm and terminal(pc)" , and it works good in HAL_uart function.
Problem:
- But when i connect to GSM with ARM, No response is getting from GSM.
- I tried another method, i use uart max232 with GSM to transmit and receive data it works fine. [sending data to pc terminal via max232].
I attached the uart communication diagram arm,gsm and max232.(I use max232 to communicate with pc since i have only st-link v2 which has no tx and rx).
Also the code generated from cube mx.