Prior to experiencing the development of CC2541 and CSR1010, it was felt that the development of NRF51822 was a different architecture, NRF51 based on the CORTEX-M0 kernel, the implementation of the protocol stack through the SVC nested.
The SOC needs to implement the functionality of the open stack (API) without opening the source code of the protocol stack, so the interface is the key to determining the SOC's merits. CC2541 implements the interface call in the form of Lib library file, CSR1010 in the form of a callback function to put the main program in ROM, NRF51822 gives the feeling is in between. The NRF51 architecture encapsulates the protocol stack in a compiled binary, burning it in the start of the flash, and burning the main program at the post address to implement an asynchronous call to the protocol stack via Svcall.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
NRF51822 development of the previous article