I'm totally new to Nordic solutions. I was programming a lot in assembler in 8051 era 20 years ago. Now I feel lost in that new solutions.
I have PCA10040. It is connected as COM6. I use SEGGER Studio.
I try to write a simple program, that sends and receives short, max 8 bytes data via com port with standard speed 9600.8.N.1
All what I need is to:
- when data is received, then start function, where I can decide what to do with "case" function
- When I need to send something, just to have simple "send_to_uart" or similar function.
All as simple as possible.
Please help me with such "Hello Uart" program. Our company wants to switch to Nordic, but my lack of knowledge causes delay.
In older times it was easy - just write parameters of com speed to registers, reserve buffer, init port, and voila - it was working.
Tom