Posted on July 10, 2018 at 22:37 Hi, When I enable my USART peripheral it sends an unwanted byte interpreted as 0xFE. To enable the USART peripheral, I first enable it in the APBENR register then I reset it through APBRSTR. I then disable flo...
Posted on July 11, 2018 at 15:12 I think I have a problem with my GPIO configuration because by default when I enable them there is the same signal that appears on the logical analyzer... My routine for the GPIO is : Enable the gpio in AHB1 (i ...
Posted on July 11, 2018 at 15:09I am currently implementing an https://en.wikipedia.org/wiki/Hardware_abstractionfor the micro-controller, and the language is not C so I don't think showing code would be really useful.
Posted on July 11, 2018 at 14:02I don't do any kind of GPIO initialization except for enabling them and setting up the alternate function.Is there anything else that I should do ?
Posted on July 11, 2018 at 13:44Here is my init routine in pseudo code.I am using USART3 clocked through APB1. APB1, ENR register enable usart3en bit to clock the peripheralAPB1, ENR register set usart3rst bitAPB1, ENR register clear usart3rst bitU...
Posted on July 11, 2018 at 12:35I tried multiple ways of reading to DR. Reading it with gdb should be working right ? I also tried to read it from my program but it changed nothing.Moreover the reference specify that the registers is initialized wit...