UART Transmit, bare metal (no HAL OR LL). I just want to transfer 1 charater(later i would do a string) I am reading the character through hercules. Baud rate is 115200. (16Mhz / 115200 = 0x8B) here's the code. where am i going wrong?
#include<stdint.h>#include "usart.h"voidclock_init(void);voidclock_init(void){ RCC->CR &= ~(RCC_CR_HSIDIV); RCC->CR |= RCC_CR_HSION;}int main(){ clock_init(); usart_init(); while(1) { }}#include <stdint.h>#include "stm32g0xx.h" // Device head...