Hello
In a previous thread I mentionned that having a workshop related to UART would be helpful and here is the reason why I am asking this:
I am working at interfacing TM4C123G and GPS L70 from Quectel. The module is supposed to be queried via UART. using some command (which are not AT command but roughly simila: PMTK command, it seems to look like this : $PMTK622,1*29<CR><LF> or $PMTK223,1,30,180000,60000*3C<CR><LF>). In my understanding the way to operate is to send command to the module using TX and then receive some information via RX (the format is NMEA), then to store them on memory, then to send them to another UART for visualization and control (Putty or Teraterm).
I have difficulties to implement this for several reason:
1./ Do I undersand that to send command to the module I should use a printf("COMMAND") or a put or UARTSEND in the main of the function . Do I have to use any library to do this ?
2./ Do I understand well that for receivig answer i have nothing to do? The chip will do it automatically ?
3./ Where do I read the values received by the TM4 once received(Uart register ? If yes, where and how)
4./ Do I undertsand well that to store the value received I will need to create an array and to fill it with the received values ? IF yes, what format for the "boxes" in the array it is recommended to use ?
5./ To visualize them I will need to get them back from this array
In attachment is the datasheet of manufacturerQuectel_L70_GPS_Protocol_Specification_V2.2.pdf