I used something like this
On transmis side
HSEROUT "DataStart:",Len, str data\Len, chksum
on receive side
HSERIN wait("DataStart:"), Len, str data\Len, chksum
USART
Is it "safe" to send HSEROUT header, data,
then receive:
- HSERIN header
(depending on header, use proper data format)
- HSERIN data
This tool comes in two flavors. Stand alone and plug-in for MPLABX
Here it is https://www.microchip.com/en-us/tools-resources/configure/mplab-code-configurator
There are tutorials also in...
MCC is the tool. MPLAB Code Configurator.
Select a device, select peripheral(s), select configuration for those peripheral(s) and it outputs configuration code for you (in C syntax).
What is MCC, and what tool are you talking about?
:confused:
Pavago specializes in providing businesses with efficient offshore recruitment solutions, enabling companies to hire skilled candidates remotely from anywhere in the world. By leveraging global...
HaimenoPa - 14th September 2024, 18:07If MCC can produce all the config code, why not use this tool?
For some reason I have not found why I am not able to use it on my PC. But I guess Richard can as we discussed that some time ago.
...
I was referring to the one Ioannis linked to.
HenrikOlsson - 14th September 2024, 08:59Under the price it says
SIM A7670C R2 A7670E R2 4G LTE cat 1 Module is Compatible With STM32, Raspberry pie, etc
Note 4G LTE
and
If you scroll down the web page he gave it says
Re: Breaking HSERIN into separate parts
Interesting. Do you have a sample code of how you process the string array at reception?
Demon Today, 23:31I had been looking at HSEROUT in the manual, but it's HSERIN that has more options.