hard fault after configure systick
i use NUCLEO - F767ZI and test a simple code as followint sum(int a,int b){ return a+b; } int main(void){ int dly; __enable_irq(); SysTick_Config(100000); NVIC_EnableIRQ(SysTick_IRQn); dly = sum(1,3); return 0...
Ask questions, find answers, and share insights on STM32 products and their technical features.
i use NUCLEO - F767ZI and test a simple code as followint sum(int a,int b){ return a+b; } int main(void){ int dly; __enable_irq(); SysTick_Config(100000); NVIC_EnableIRQ(SysTick_IRQn); dly = sum(1,3); return 0...
my code is, /* Includes ------------------------------------------------------------------*/#include "main.h"#include "stm32l4xx_hal.h"#define FLASH_BSY (1 << 16)/* Fast programming not used => related errors not used*/#define FLASH_PGSERR (1 << ...
To setup an STM32F303x ADC to trigger on a timer's UEV (update event), is the proper polarity for register ADC_CFGR:EXTEN[1:0] 01b? The timing diagrams suggest the initial UEV is "rising", but it isn't a pin--it's just an event. It seems a falling e...
Hi,I would like to know if the wakeup time from STOP mode is defined, when LOWPOWERREGULATOR is ON and the main clock is used a MSI (4194 MHz). Can not find this information. Also I would like to compare it with others Low Power modes...Thank you fo...
Hi I'm new to this thing. does anyone has any example or config on how to implement the wolfSSH for STM32F103C8T6.Is there any other supporting SSH library which I can use with STM32F103C8T6? Thanks in advance.
Hi;Can not interrupt CAN BUS application?I'm using the following codevoid HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan){ HAL_CAN_GetRxMessage(&hcan1, CAN_RX_FIFO0, &RxMessage, RxData);}
Hello,I use SPI on STM32F030xx in slave mode, 8 bit data size.Master clocks in two bytes, depending on them software loads SPI-DR with 2 bytes, eg:SPI1->DR = 0xA5C3;Then master clocks in two more bytes to get these two data bytes and gets them first ...
HiI wrote a little CEC application. Unfortunatly communication with other devices didn't work well.I used a logic analyzer to find the problem.The error is in the IRQ function HAL_CEC_IRQHandler:[...] if((reg & CEC_FLAG_TXBR) != RESET) { if (hcec-...
Is it possible to use self-powered STM32F072 as USB peripheral, permanently connected to Raspberry-Pi host on USB?My worry is during recovery from STM32 power reset/ watchdog reset, raspberry-pi getting powereup alone , whether the USB-VCP-CDC will r...
I need a CAN hal example code for stm32f103.