Hello,my problem is that i can't get access to the ADC12_CCR register. I activated the corresponding Clock in the RCC_AHB2ENR register. In addition I compare the addresses of the register from the library with the data of the reference manual, they a...
MCU: STM32F411CEU6.IDE: STM32CUBE IDE 1.5.1Timer1 config:PWM generation mode, CH1+CH2No prescaler, Period=549, Repetition counter = 8DMA: Circular mode, memory->periph, halfword, mem increase CH1+CH2PWM start code:// Ensure 32-bit alignment just in c...
Hi .I am trying to program STM in boot mode. With controller operating on 3.3v with SPI speed less than 1.25MHz is working fine. While increase in SPI communication speed leads to get NAC not acknowledgment from STM controller in boot mode and i have...
I want to protect my code by writing OB using HALbool SetFlashReadProtection(bool state) { FLASH_OBProgramInitTypeDef OptionsBytesStruct = {0}; HAL_FLASHEx_OBGetConfig(&OptionsBytesStruct); if(state == true) { if(OptionsBytesStruct.RDP...
I am using the code :int read_adc_data(ADC_HandleTypeDef *ptr_hadc, uint32_t channelx){ uint16_t vrefint_cal; float adc_read_value = 0.0, adc_reference_voltage = 0.0; ADC_ChannelConfTypeDef sConfig; sConfig.Channel = ADC_CHANNEL_VREFINT; ...
I send the temperature value on a serial interface.In the live watch of the IAR tool, I can see the same correct value than the one sent on the serial interface.The problem occurs after a power-down/power-up of my board, like if something is not init...
Hi all,I'm currently working on a project using the STM32H723 interface with SDRAM IS42S16400J. After booting up, I have to read a large JSON file [2MB] from flash into SDRAM then parse it to get the information. I wonder if I could allocating dynami...
Hi,I try to jump from Bootloader to my main program using this function:void jumpToMainProgram(){ uint32_t topOfStack = (*(uint32_t *)0x8008200ul); HAL_RCC_DeInit(); // deinit clocks // reset all periphals __HAL_RCC_AHB_FORCE_RESET(); __HA...
Hi there i cant get a real data from ADS1227L01. In debug mode i see the value 0xFFFFFF.Q1: If anyone used ADS127L01 can they send me librarys for comparison ? Q2: Im using 3.75MBits/s Baund Rate is it enough for 24 bit data?