Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 90160

The STM32 is the third ARM family by STMicroelectronics. It follows their earlier STR9 family based on the ARM9E core, and STR7 family based on the ARM7TDMI core. The STM32 is based on the ARM Cortex-M family of cores.

0
votes
During the development use SWD programmer/debugger. I would suggest to write own bootloader as the built one is very simple and does not provide any app checks. It is especially important if your app …
answered Oct 21 '18 by P__J__
0
votes
when you program the chip using your favourite debug probe (it does not matter SWD or JTAG) the software (in most cases ooenOCD or gdbserver load small program to the RAM which programs the FLASH. There are no hardware mechanisms of STM32 FLASH writing. …
answered Sep 6 '18 by P__J__
1
vote
Reading the SPI in the timer interrupt is just wrong and your application requires reconsideration. You have SPI interrupts to do so or if the speed is higher you need to use DMA for the communication …
answered Oct 17 '18 by P__J__
2
votes
First of all - 16 bits + 2x address (16 bits) + memory read address 8 bits + ACK / NACK * 4 I think + 2xSTART + 1xSTOP (if I did not miss anything) which makes about 40 clocks. 400kHz / 40 ~= 10k seq …
answered Oct 17 '18 by P__J__
-1
votes
UART is always avaiable as it is the part of your micro. When you transmit - there is no way to check if something is connected or not. You can only reconfigure the Rx pin to GPIO analog and check if …
answered Oct 7 '17 by P__J__
1
vote
The name of the pin is self explanatory I think. SINGLE WIRE OUTPUT. It is for the debugging purposes, uses very specific transmission and programming methods. I do not understand what for. You have …
answered Dec 26 '17 by P__J__
0
votes
Those values are quite consistent. Remember than the higher bits contain the parity and your result is about 0x800 which is IMO correct. Remember that the current can flow in the both directions. So t …
answered Oct 15 '18 by P__J__
1
vote
:) Jesus Christ !! Simple task, ridiculous library. <irony>I agree, HAL is much easier to understand and write</irony> F303 double ADC mode working example from my production code: DMA1_Channel …
answered Sep 23 '17 by P__J__
-2
votes
Of course it is possible. Here is the configuration for F031c6
answered Apr 13 '18 by P__J__
3
votes
Those two lines reset the GPIOx peripheral. Firstly it sets the reset bit in the register to initialize the reset. Then it has to reset the reset bit to take the peripheral back to power reset state …
answered Oct 15 '18 by P__J__
3
votes
You may try (never tested myself) MEMORY { RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K CCMRAM (rw) : ORIGIN = 0x10000000, LENGTH = 64K FLASH_1 (rx) : ORIGIN = 0x8000000, LENGTH = 32 …
answered Aug 18 '18 by P__J__
0
votes
depending on the implementation of the SPI probably you need to cast properly *(volatile uint8_t *)&SPIx -> DR = data; Then waiting for both flags after the send is pointless. Using the magic numbe …
answered Apr 22 '18 by P__J__
2
votes
0answers
Today I have started to encounter strange problems with SWD debugging. The debug only works if I keep my finger on the SWD pins. To be more interesting I have the same problem with the boards I was w …
asked Mar 3 by P__J__
1
vote
Actually IMO hardware denouncing in generally is not the very good choice. It should be done in the regularly called processes like timer interrupts. How to do it here you have the example code: htt …
answered Oct 16 '17 by P__J__
2
votes
You can drive the WS leds using DMA and timer generated PWM signal. Read about the DMAR register and how to use it in the RM. I do not know if it is possible using the HAL library as I do not use it. …
answered Apr 12 '18 by P__J__

15 30 50 per page