AnsweredAssumed Answered

STM8L discovery USART : can´t write to usart register!

Question asked by 43458 on Jul 4, 2012
Latest reply on May 17, 2018 by Shawn O'Neil
i cant seem to be able to write in any of the usart registers. i use STVD with raisonance compiler.
eg. when i write
USART1->CR1 = 0x01;
i don´t see any change in CR1 perpheral registers (that i view in STVD window). This works with the other registers.I also remap the usart clk ans tx pin to port A.
 Do i have to inlude some other files or do some more remapping etc. to be able to write in the USART register?