We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'am started to learn ARM7 and Keil uVision not so long ago, and I've got a problem with its simulator. SSC transmitter does not activated (i.e. SSC_CR register still equals zero) after executing this code: pPMC->PMC_PCER = (1 << AT91C_ID_PIOA) | (1 << AT91C_ID_SSC); pSSC->SSC_CMR = 2; //SSC Clock = MCLK/4 pSSC->SSC_CR = AT91C_SSC_SWRST; //Software reset pSSC->SSC_TCMR = AT91C_SSC_CKO_DATA_TX; //Transmitter clock mode pSSC->SSC_TFMR = 15 | AT91C_SSC_MSBF; //Data word is 16 bit, MSB first pSSC->SSC_CR = AT91C_SSC_TXEN; //Enable transmitter
Don't know why, but I was unable to set any bit in SSC_CR register in the simulator - neither by the code execution, nor through it's interface window. This register is always at zero.
Is that a bug?
PS: I'am also did not find any SPI interface window/panel for AT91SAM7S in the simulator. Does it exist?