What I try to do is to make a SPI communication by a pair of ADuC814. It's quite a simple structure, so that a master sends binary code to a slave. I need two sample routine, one is for transmitting and another one for receiving. Just a simple examples are ok, and I can study from and arrange it for my system requirement. Does anyone help me? Thanks.
Yes, but I have not found some good example code which make a transmission of AD conversion result via SPI. Repeated single SPI transmission works fine without ADC, however, no possible signals when using both ADC and SPI. Any idea is helpful. Thanks.