hi , i'm trying to connet sim800l and neo_6m modules to nrf52840dk using zephyr ,however i can't find any code source to use .,or do i have to creat the code from scratch if so can you give me the main steps to do
hi , i'm trying to connet sim800l and neo_6m modules to nrf52840dk using zephyr ,however i can't find any code source to use .,or do i have to creat the code from scratch if so can you give me the main steps to do
Hi Rania,
You can learn how the use two uart ports on nrf52840dk, because both sim800l and neo_6m use uart port for communication.
After you can communicate with two modules, you can develop your application logic.
Best regards,
Charlie
hi , i'm having trouble in using uarts ,since i'm using 2 modules do i have 2 use uart0 and uart1 or i can use just one uart
There is a sample you can get to start Low Power UART — nRF Connect SDK 2.6.1 documentation (nordicsemi.com). You may use one uart to switch between these two modules, but this will make your hardware and software design complex and may introduce some limitation since two modules can not communicate with host at the same time.
Best regards,
Charlie
hi this is what i did i created a folder in which there is:
main.c:
Hi Rania,
It is hard to say where is the issue comes just from the codes. I can guide you how to debug this issue.
You can use a TTL USB converter + Serial Terminal(App from the nRF Connect for Desktop) to test with different modules of your system and make sure they are working as expected independently.
Following are the items you can test.
1. Refer to sim800l speciation to test the AT commands you want to use.
2. Refer to neo_6m Interface Manual to verify the GPS data you will get.
3. Test with nRF52840 with UART echo — Zephyr Project Documentation to learn how UART works.
Please pay attention that the NEO-6M GPS module with crystal and ROM has reached End-of-Life according to NEO-6 series | u-blox.
Best regards,
Charlie