STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ADC freezes on power up

I have a project using an STM32L412. It works fine on my bench power supply, but I made it to run on a piece of modular equipment which has a different power supply - this supply is slower starting. On this supply the board seems to work fine except ...

deep_rune by Associate III
  • 1049 Views
  • 4 replies
  • 0 kudos

Trace debug (SWO) on STM32H745 with IAR or without IAR

hi, I have already seen many things on the SWO Trace for STM32H745XI but I can't find something detailed to configure on IAR environment and make it work. Can someone tell me the registers to be set and various tricks to use this type of debugging?(p...

FraN by Associate
  • 906 Views
  • 2 replies
  • 0 kudos

Nucleo-F446RE - CAN Bus not initializing.

Hello!I have been trying to get the CAN system on this to work unsuccessfully for some time now, and in trying to debug the code have added some SWV ITM console printf's. In running the code, the HAL_CAN_Init, HAL_CAN_ConfigFilter, HAL_CAN_ActivateNo...

Aaronium by Associate III
  • 2774 Views
  • 7 replies
  • 0 kudos

Resolved! CAN interrupt is not called

Hello,I am trying to set up a CAN interrupt base communication system and it seems that IRQ handler is never called.Debugger goes through the CAN1_TX and then back to main function, so IRq is never called.USART output:[2020-12-08_21:19:01:191] A...

Kaveh by Associate III
  • 920 Views
  • 1 replies
  • 0 kudos

Resolved! Issues with SPI comms between two STM32s

I'm trying out simple SPI comms between two STM32s. The TX is STM32F407 and the RX is STM32G070. The data that I seem to be receiving is different from what I'm sending. What am I missing here?For the RX, I've set the NSS to software. I've configured...

0693W000006Gw3KQAS.png 0693W000006Gw4RQAS.png

Trouble setting D2 clocks

I'm trying to set up the clock tree, and D1CKRDY becomes ready, but for some reason D2CKRDY does not. Here is the code:// Clock setup   RCC->CR |= RCC_CR_HSEBYP; // Set HSE as...

Neuromod by Associate II
  • 429 Views
  • 0 replies
  • 0 kudos

Changing data for DAC every 1 sec

Hello,I currently use the STM32G4 MCU Nucleo board (NUCLEO-G474RE) - I create an array of numbers (specifically - a sine wave at a certain frequency), which I transmit via the DMA, triggered by a timer (TIM2). Currently, the array is being transmitte...

YLivn.1 by Associate II
  • 919 Views
  • 4 replies
  • 1 kudos

Resolved! STM32F042 CAN bus receive problem

Hello,I want to receive messages from CAN bus using STM32F042, but I have a problem with it because the interrupt is not working.I can send messages without any kind of problem, the problem is only with the receiving.I have set up the filter as it ca...

PDavi.4 by Associate
  • 986 Views
  • 2 replies
  • 0 kudos