Posted on May 17, 2011 at 15:03Hi, We are using STM8S208 SPI in slave mode. Configuration as follows: - Full Duplex - MSBFirst - CPOL: 0 - CPHA: 1 SPI configuration code: Code:void SPI_Init(void) { /* Deinitialize the SPI peripheral registers to th...
Posted on May 17, 2011 at 15:03Thanks for all your inputs Jatin and also for quick reply. Unfortunately, it doesn't work. The error,''gdi-error[40121]: verification of flash memory failed after write operation.'', occurs as soon as this statement is...
Posted on May 17, 2011 at 15:03More inputs: 1) CLK->ICKR = CLK_ICKR_RESET_VALUE; //(u8)0x01 Not able to write 0x01 to CLK->ICKR. It remains 0x03. i.e., While I want to set only the ''HSIEN(High speed internal RC oscillator enable)'' bit of ICKR(Inte...
Posted on May 17, 2011 at 15:03Another i/p. Seems the things are getting wrong while doing clock related settings. Please note that in my STVD project settings(& while downloading code using STVP), i've selected MCU as STM8AF519A. However, the eval ...