C8051F120 SPI与ADXL345加速度传感器通信;P0.0和P0.1用作串口0,P0.2作为CLK线,P0.3作为SDO线,P0.4作为SDA线,P0.5作为CS线,P0.6和P0.7用作串口1;调试成功,简单易懂~~