hello,对于SPI的DMA模式无法使用的BUG:
********************************************
CC3200 SPI Demo Application!
Birate: 10000000
DMA size:1024
********************************************
Start the slave and press any key to transmit data....
我发输入,卡在这里。
代码:
int main()
{
uint32_t tx_crc = 0;
uint32_t tx_crc_old = 0;
uint32_t a = 364;
uint32_t b = 53457;
uint32_t c = 976;
uint32_t d = 66;
uint32_t error_counter = 0;
uint32_t transfer_counter = 0;
init();
// initialize buffers with some known value
memset(tx_buffer,0x33,sizeof(tx_buffer));
memset(rx_buffer,0x44,sizeof(rx_buffer));
// wait for keystroke: this gives the user time to start the slave
Report("Start the slave and press any key to transmit data....\n\r");
MAP_UARTCharGet(UARTA0_BASE);
spi_setup(SPI_MODE_MASTER,interrupt_handler);
tx_crc = fill_buffer(tx_buffer,DMA_SIZE);
..........................