I'v read the Arduino SDK for nRF8001 (and Poring ACI to any other microcontroller) some questions:
1)the source code is complicated and there is'nt enough comment on that. how can I find a document to help me understand better and port.
- as I know data will send in ACI_EVT_PIPE_STATUS case, why data send with "uart_tx" function? I think micro controller use SPI peripheral to communicate with nRF8001. (uart is asynchronous but spi is synchronous with clock)
3)how "uart_tx" function deliver data to spi_transfer function? I go forth , and finally find a memcopy function with "acil_encode_cmd_send_data" name in acilib.cpp . I completely confused. please help.