Gast
#1987791
hi, ich sende daten über die spi schnittstelle wie folgt: PSW_IEN = 0; // Global Interrupt disable SSC0_TB = command; // send command with SPI interface while (SSC0_CON_BSY == 0); // wait until transmition starts while (SSC0_CON_BSY == 1); // while busy wait until transmition ready response = SSC0_RB; PSW_IEN = 1; ich hab das problem das er manchmal in der ersten while schleife hängen bleibt -> while (SSC0_CON_BSY == 0); wie kann das auftreten? ich schalte ja alle interrupts ab!! der gepostete code wird im timer 2 interrupt ausgeführt! lg