Posted on March 16, 2015 at 13:40
hello,
here under my asm code for initializing UART2 of STM8s I use STVD IDE with stm8s discovery.
when I put a break point at the end of the init, all the UART2 peripherals remains at 0x0000. I do...
Posted on March 16, 2015 at 23:02I have found my problem . I had remove UART clock . grrrr !!! mov CLK_PCKENR1 , #%11110000 ;supprime le clock sur les oscillateurs pour les UART , SPI et I2C /!\ replace by mov CLK_PCKENR1 , #%11111100 ;suppr...