附上stm32打印输出
[SPI_COMM][173]pDma_TX_Addr:0x2000cd50
0x55,0xaa,0xeb,0x99,0x00,0x10,0x04,0x82,0x50,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,
[SPI_COMM][207]pDma_RX_Addr:0x2000d670
0x55,0xaa,0xeb,0x99,0x00,0x00,0x04,0x82,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
下面这四个打印是主控制器的连续两次读,中间没有延时。其指针地址没有变化
[SPI_COMM][173]pDma_TX_Addr:0x2000cd50
0x55,0xaa,0xeb,0x99,0x00,0x00,0x04,0x82,0x00,0x00,0x01,0xc1,0x01,0x56,0x31,0x2e,
[SPI_COMM][173]pDma_TX_Addr:0x2000cd50
0x55,0xaa,0xeb,0x99,0x00,0x10,0x04,0x82,0x50,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,
[SPI_COMM][207]pDma_RX_Addr:0x2000d670
0x55,0xaa,0xeb,0x99,0x00,0x10,0x04,0x82,0x50,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,
[SPI_COMM][207]pDma_RX_Addr:0x2000d670
0x55,0xaa,0xeb,0x99,0x00,0x10,0x04,0x82,0x50,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,
后面这个就是主控制的单独操作,STM32这个指针就有切换
[SPI_COMM][173]pDma_TX_Addr:0x2000d1e0
0x55,0xaa,0xeb,0x99,0x00,0x10,0x04,0x82,0x50,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,
[SPI_COMM][207]pDma_RX_Addr:0x2000db00
0x55,0xaa,0xeb,0x99,0x00,0x01,0x04,0x82,0x05,0x00,0x02,0x69,0x02,0x00,0x56,0x00,
[SPI_COMM][173]pDma_TX_Addr:0x2000cd50
0x55,0xaa,0xeb,0x99,0x00,0x10,0x04,0x82,0x50,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,
[SPI_COMM][207]pDma_RX_Addr:0x2000d670
0x55,0xaa,0xeb,0x99,0x00,0x02,0x04,0x82,0x09,0x00,0x00,0x04,0x00,0x01,0x00,0x0
|