I have created a pointer to function like void (*MyFun)(void); and I assigned first time 0x00000000 and the second time 0x08000000. in both cases after call MyFun(); I get HardFault error.Why? PS. This is simple project created in CubeIDE (default pr...
Hi all iam working in stm32 f051c8tx microcontroller im trying to recieve a byte and if i recieve a byte in intrupt im printing "hello world " via tx of the same uart, the issue is im not able to recieve any char the below is the code any thoughts p...
Hello everyone,we have to uart bootloader for stm32 mcu application. We update binary files with uart bootloader. But we need stm32 header for binary files. There are multiple binary files and Multiple devices that I have loaded with uart from the ...
I'm attempting to have my program run some code when a SPI transfer is complete using the RXNE flag. Setting the RXNEIE bit invokes SPI2_IRQHandler() as expected but it always results in a hard fault (CFSR register = 0x20000), without any additions t...
There is an external loader for the G0 series MCUs that comes with the M01 display kit. Does anyone know where the source code to that external loader is located at?
I'm working on a board redesign due to supply chain issue with a NXP MK70 MCU. The previous design clocked both the MK70 and a Spartan 6 FPGA with an external 50MHz crystal oscillator.The new design is using the STM32L4R9AII6 MCU -- max HSE input fre...
I used this function to initialize and setup STM32H743IIT6 uC to work with SPI in master mode:void InitSPI(void) { RCC->APB2ENR=0x00102000; //Enabling SPI45 clock (default: rcc_pclk2=25MHz) SPI4->CFG1=0x30070007; //Baud rate = SPI clock / 16 = 1....
Hello,Can you help me to use the DMAMUX in the STM32G474 microcontroller?How can I program the uC to make TIM2_CH1 sends a DMA request when CC. I have found this in the reference manual but I can't undesrtand which channel of the DMA is involved. Tha...