Search found 1668 matches
- Mon May 23, 2022 5:18 am
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: can power be supplied into 5v pin while USB is also attached?
- Replies: 7
- Views: 3767
Re: can power be supplied into 5v pin while USB is also attached?
technically it shouldn't be done, but that it still works having both of them connected as both of them are 5v
- Sat May 21, 2022 4:05 am
- Forum: General discussion
- Topic: Linux serial_posix vs. Windows serial_w32
- Replies: 37
- Views: 7246
Re: Linux serial_posix vs. Windows serial_w32
in Linux run dmesg look for the vid/pid when your stm32duino or libmaple (roger's core) device is connected. That same vid/pid needs to be in the udev config file. you can have multiple different definitions for different vid/pids. restart udev or restart your pc and make sure you have selected USB ...
- Fri May 20, 2022 9:50 am
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Nucleo STM32H7: Setting VRefBuf
- Replies: 4
- Views: 3094
Re: Nucleo STM32H7: Setting VRefBuf
in stm32 VREFINT is a fixed voltage measured off a constant voltage source. if that is what you want to read, you may be able to read that using analogRead(). https://github.com/stm32duino/wiki/wiki/API#adc-internal-channels stm32 ADCs don't have a feature that set a vref as like a comparator. Check...
- Wed May 18, 2022 8:55 am
- Forum: General discussion
- Topic: Unwanted ISR call from timer ??
- Replies: 7
- Views: 1885
Re: Unwanted ISR call from timer ??
just 2 cents, i'm somewhat got used to an idiom with timers void setup() { Timer->pause(); Timer->setOverflow( dur); Timer->setCaptureCompare(ch, ticks); Timer->attachInterrupt(fn); Timer->refresh(); Timer->resume(); } If a missed period isn't all that important e.g. in a PWM situation or timer call...
- Tue May 17, 2022 3:13 pm
- Forum: Projects
- Topic: STM32F103C8T6 Flash Memory Write/Read
- Replies: 11
- Views: 7143
Re: STM32F103C8T6 Flash Memory Write/Read
take a look in the ref manual RM0008 and some app notes https://www.st.com/resource/en/reference_manual/cd00171190-stm32f101xx-stm32f102xx-stm32f103xx-stm32f105xx-and-stm32f107xx-advanced-arm-based-32-bit-mcus-stmicroelectronics.pdf https://www.st.com/resource/en/programming_manual/pm0075-stm32f10xx...
- Tue May 17, 2022 1:17 pm
- Forum: General discussion
- Topic: Linux serial_posix vs. Windows serial_w32
- Replies: 37
- Views: 7246
Re: Linux serial_posix vs. Windows serial_w32
it is in the Wiki in the FAQ https://github.com/stm32duino/wiki/wiki/FAQ#linux https://github.com/stm32duino/wiki/wiki/FAQ#usb-serial-cdc-stalls-initially-and-connecting-using-a-serial-monitor-fails create a udev rules file e.g. /etc/udev/rules.d/45-stm32duino.rules add a line like ATTRS{idProduct}=...
- Sun May 15, 2022 9:33 am
- Forum: Projects
- Topic: How do I adapt this 8 bit ladder DAC for STM32F401 Black Pill?
- Replies: 7
- Views: 3568
Re: How do I adapt this 8 bit ladder DAC for STM32F401 Black Pill?
just 2 cents, if you are changing all the bits in one go, you may as well use ODR.
for BSRR, to do the same, it may be 2 transactions, first reset all bits, then set the bits again separately.
the alternate would be to do things like
for BSRR, to do the same, it may be 2 transactions, first reset all bits, then set the bits again separately.
the alternate would be to do things like
Code: Select all
GPIOA->BSRR = value | (~ value << 16);
- Fri May 13, 2022 5:53 am
- Forum: General discussion
- Topic: how to program btt octopus V 1.1 stm32f446zet6(not standard supported)
- Replies: 1
- Views: 1989
Re: how to program btt octopus V 1.1 stm32f446zet6(not standard supported)
among the things you can try, you can look at this https://www.stm32duino.com/viewtopic.php?p=9868#p9868 post in the thread or alternatively, you can try the FYSETC_S6 variant https://github.com/stm32duino/Arduino_Core_STM32/blob/main/variants/STM32F4xx/F446V%28C-E%29T/variant_FYSETC_S6.cpp the main...
- Mon May 09, 2022 7:33 am
- Forum: General discussion
- Topic: FPU Enable - STM32f401CCU6
- Replies: 2
- Views: 1917
Re: FPU Enable - STM32f401CCU6
the FPU is normally already enabled, in both official STM and libmaple based cores.
Accordingly, it helps to put that enable_fpu code in its own .cpp file, then include the definition and include it from a #include
Accordingly, it helps to put that enable_fpu code in its own .cpp file, then include the definition and include it from a #include
- Fri May 06, 2022 6:45 am
- Forum: General discussion
- Topic: Octopus Pro v1.0.1 board with Arduino
- Replies: 11
- Views: 9513
Re: Octopus Pro v1.0.1 board with Arduino
my apologies, i'm off tracked. out of curiosity i took a look at the schematics https://github.com/bigtreetech/BIGTREETECH-OCTOPUS-V1.0/blob/master/Hardware/BIGTREETECH%20Octopus.pdf it is using the stm32f446zet6 if you used the F446Z(C-E)(H-J-T) variant https://github.com/stm32duino/Arduino_Core_ST...