STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Currently we make use of three SPI busses on a STM32F405. SPI1 is a slave and SPI 2/3 are masters. I switch SPI1 to master mode and it just doesn't work. I suspect the APB2 bus but I think I have it set correctly.

Here's my code:SPI_HandleTypeDef spi_handle = { .Instance = DEF_SPI_INS_SPI1, .Init = { .Direction = SPI_DIRECTION_2LINES, .BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2, .CLKPh...

_legacyfs_online_stmicro_images_0693W00000bklpzQAA.png _legacyfs_online_stmicro_images_0693W00000bkhu2QAA.png _legacyfs_online_stmicro_images_0693W00000bkhuqQAA.png _legacyfs_online_stmicro_images_0693W00000bkhugQAA.png
MBish.1 by Associate II
  • 1103 Views
  • 6 replies
  • 0 kudos

Resolved! Active BOOT0 by software on STM32L432

Hi all,I'm creating a personnal board with an STM32L432 mcu, but I have a question about BOOT0. I'd like my futur to give the possibility at my futur clients to update the board. To do thaht I know I can use DFU mode and to enter to this mode BOOT0 s...

SBaro.11 by Associate III
  • 2352 Views
  • 7 replies
  • 0 kudos

STM32G473VCT Internal voltage reference setup failing

Hi All,I created an STM32CubeIDE project to set up an Internal voltage reference on myboard that has an STM32G473VCT; see the screenshot attached. All I did wascreate that Internal voltage reference, save and generate code. See screenshot: I put brea...

_legacyfs_online_stmicro_images_0693W00000bkJPBQA2.png
IAuto.1 by Associate II
  • 1088 Views
  • 4 replies
  • 0 kudos

How to use COMP on STM32g431c8T6? I found it not work correctly. The pol is noninverted When INP(1.6V)<INM(2v),the out is high. Only INP=0, the out is low.

void Comp1Init(void){ Comp1GpioInit(); RCC -> APB2ENR |= 1;  //20230506///////////////////////////////////////////////////////// COMP1 -> CSR |= 3 << 19;//TIM3 OC3 Banking of CSA p739 /////////////////////////////////////////////////////////// COMP1 ...

立张.1 by Associate II
  • 385 Views
  • 0 replies
  • 0 kudos