Search found 149 matches
- Mon Nov 21, 2022 8:58 pm
- Forum: General discussion
- Topic: possible to direct access RNG registers of 32F411 via arduino-ide?
- Replies: 11
- Views: 3033
Re: possible to direct access RNG registers of 32F411 via arduino-ide?
CMSIS definition from https://github.com/stm32duino/Arduino_Core_STM32/blob/main/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h I think this should be enough: // Write to register RNG -> CR = 0; RNG -> CR = (RNG -> CR ) | RNG_CR_RNGEN; // enable bit RNG -> CR |= RNG_CR_RNGEN ...
- Sun Nov 20, 2022 10:47 pm
- Forum: General discussion
- Topic: possible to direct access RNG registers of 32F411 via arduino-ide?
- Replies: 11
- Views: 3033
Re: possible to direct access RNG registers of 32F411 via arduino-ide?
The datasheet I'm looking at does not mention RNG, and RM0090 does not appear to be for F411??keepitsimple wrote: ↑Sun Nov 20, 2022 2:51 am The 32F411 datasheet says it has a RNG, and the ST RM0090 datasheet (pages 767-771) clearly explain how the RNG works.
- Tue Oct 18, 2022 12:53 am
- Forum: General discussion
- Topic: How use LPTIM
- Replies: 15
- Views: 4388
Re: How use LPTIM
Perhaps you need some #include in your code, like maybe for stm32l0xx_hal_lptim.h?
- Wed Oct 12, 2022 8:31 pm
- Forum: General discussion
- Topic: Serial communication hardware
- Replies: 13
- Views: 4629
Re: Serial communication hardware
CAN bus comes to mind. But that might be way off, as it is something I have never used.
- Sat Oct 01, 2022 9:10 pm
- Forum: General discussion
- Topic: uploading error in stm32f103 blue pill
- Replies: 6
- Views: 2407
Re: uploading error in stm32f103 blue pill
I don't normally use the F103 "system memory" serial bootloader for programming, but in response to a recent thread here I did try it. I ran into two problems, as mentioned in that thread. First problem was that it turned out that the USB-TTL serial converter I tried to use was locked to "8N1 ...
- Wed Sep 28, 2022 8:25 pm
- Forum: General discussion
- Topic: using both i2c interfaces on stm32f104c8t6
- Replies: 8
- Views: 5040
Re: using both i2c interfaces on stm32f104c8t6
or with soft i2c - you can establish as many of them as you can. That is one of the other possibilities I had in mind when I said this: There are additional possibilities as you would have with other boards too, but what I can think of might be contrary to your speed goal. The other that often gets ...
- Mon Sep 26, 2022 2:25 am
- Forum: General discussion
- Topic: BluePill:PB2 state change not detected when connecting to ground - is my core out of date?
- Replies: 6
- Views: 8142
Re: BluePill:PB2 state change not detected when connecting to ground - is my core out of date?
Maybe leave your connection on the boot jumper pin, and just short the resistor out, either leaving it there or not. I'm not sure how useful the resistor is in the first place when there is no easy way to connect directly to the processor PB2 pin. Edit: For use as a button input (but not if you did ...
- Sun Sep 25, 2022 11:16 pm
- Forum: General discussion
- Topic: BluePill:PB2 state change not detected when connecting to ground - is my core out of date?
- Replies: 6
- Views: 8142
Re: BluePill:PB2 state change not detected when connecting to ground - is my core out of date?
Where are you getting access to PB2?
From the symptoms you describe, I would guess at the at the boot jumper pin. There is a 100k resistor between that and the pin on the processor.
From the symptoms you describe, I would guess at the at the boot jumper pin. There is a 100k resistor between that and the pin on the processor.
- Fri Sep 23, 2022 7:36 pm
- Forum: General discussion
- Topic: [Solved] Connectivity problems with Blue Pill and ST-Link v2
- Replies: 14
- Views: 13740
Re: [Solved] Connectivity problems with Blue Pill and ST-Link v2
Good to hear you are making progress. I would not worry too much about what "Board info" shows. If you have still not loaded a sketch with USB support enabled, there will be no VID or PID to display. As for Tools> Board part number, for whatever reason, the items are in a different order to what I ...
- Fri Sep 23, 2022 6:10 am
- Forum: General discussion
- Topic: [Solved] Connectivity problems with Blue Pill and ST-Link v2
- Replies: 14
- Views: 13740
Re: Connectivity problems with Blue Pill and ST-Link v2
You previously mentioned choosing "Generic STM32F0 series" as the board type. I'm not sure if you subsequently realised that was wrong, because your latest image still shows the same incorrect selection. You will not be able to select Blue Pill until you change that (which, presumably you must have ...