Ask questions, find answers, and share insights on STM32 products and their technical features.
I tried to imitate the MSP430 Master-Tx example code into the STM32 and I tested it on Arduino and it works. Also, Im sure my MSP430 Slave-Rx code is correct, I tested it by sending data from another MSP430 and it works.Any suggestions on what the pr...
You can interpret return value as boolean (and pass value as boolean for gpio read and write as long as you compile you project in C but as soon as tried to compile in C++ those are not compatibles with boolean but return GPIO_PIN_SET or GPIO_PIN_RES...
I'm trying to determine exact duration in clock cycles for simple delay loop below :loop: subs r2, r2, 1 bne loop I'm using directives :.thumb.syntax unifiedRefManual says : 1 + P P The number of cycles required for a pipeli...
In Atmel Studio we can use the Device Programming tool to select the .hex and .eep files, select the config bit settings and write protection bits, and then save the setup to a .elf. We'd like to do the same with a STM32F103 project, but cannot see ...
Hello!I have been trying to configure the STM32F407VE as a SPI slave. My first time configuring a SPI device ever so its all new to me. You can see my SPI settings and code as an attachment.I am using software SS as I only have one slave and one mast...
Hello, Everything is in the title, my screen has 4bit per pixel and the keyboard example supports a minimum of 8bits color depth. Also the minimum resolution is 480x272 while my screen is smaller (320x240).Thank you for your answerAugustin
Hi folks,I'm facing a strange issue with my PWM which changes polarity every once in a while and I think the issue is due to the way I'm generating a PWM while using up and down counter mode. I have two identical configured but independent HRTIM coun...
Hello,I'm using an stm32f411ce in an application that includes an external interrupt, a uart DMA TF interrupt and a systick interrupt. with the external interrupt in the highest priority and the systick in the lowest respectively. The code runs for a...