how to write code for transfer data from internal memory via SPI Master to 2 slave
问题 I receive data from USB to the internal memory of Atxmega 128A1 if ( (SWITCHPORTL.IN & PIN1_bm) == 0 ) { j = 0; while (j < NUM_BYTES) { // Wait till there is unread data in the receive buffer while((USART.STATUS & USART_RXCIF_bm) == 0 ){}; // Read out the received data __far_mem_write(j+SDRAM_ADDR, USART.DATA); if (j == (NUM_BYTES-1)) { // Toggle LED 1 LEDPORT.OUTTGL = PIN1_bm; } j++; } } How to write code for transfer data from internal memory via SPI Master to two slaves such that odd and