Hello all,
I'm working on nRF-9160 and nRF-9151.
What I want to add into SLM application were:
- Configure to communicate through UART2 since it will be working with external MCU (already solved)
- Having a power status LED, which turns on as soon as there's power going into SiP, but would turn of while in sleep mode.
- If not in data-mode, ignore inputs that doesn't start with AT since that probably wasn't messages for 91XX.
I got 9160 running with v2.4.0 SLM application previously, the merge.hex fulfilled 1. and 2., and was provided by distributor.
Now I'm trying to build a merge.hex for 9151 by myself.
For the first one, I've seen the configure page about how to configure to UART2 and get that done.
For the second one, I've also seen a configuration about "CONFIG_SLM_INDICATE_PIN" - Interface GPIO pin to indicate data available or unsolicited event notifications.
It was noted that "This pin is configured to be active low, so it will be high when inactive."
That looks kind of match what I need since it would be high when waiting for data or notifications.
However Its default to set to P0.30, and I'm not sure will any function be impacted if I change the port of this function? ( My LED was on GPIO0)
Plus what was this function normally used? Is it a good method to output that to a LED instead of to somethings input?
And for the third function, my actual problem was I'm short of my MCU output interface, so the UART connecting to nRF91XX was the only interface I could use to print debug message.
However it looks like the SLM application would start analyzing commands no matter if it starts with AT or not, so when I print my own message, it would return ERROR to me and that will trigger my MCU to reset the 91XX.
So....
About function 2 and function 3, are there any suggest ways to implement them?