Search found 12 matches
- Sun Mar 30, 2025 11:16 pm
- Forum: General discussion
- Topic: Pulse Counter
- Replies: 9
- Views: 485
- Sat Mar 22, 2025 6:31 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Nucleo-H533re support?
- Replies: 5
- Views: 268
Re: Nucleo-H533re support?
@Composite All GPIO mappings are done for almost every MCU in STM lineup. For most MCUs you only need to add clock config and sometimes do some changes in default pin assignments (default Serial, IIC, SPI, etc). There are also entries for boards.txt for generic variants, just need to copy them ...
- Sat Mar 22, 2025 2:48 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Nucleo-H533re support?
- Replies: 5
- Views: 268
Re: Nucleo-H533re support?
You can add it yourself and then open PR on github to include it in next release:
https://github.com/stm32duino/Arduino_Core_STM32/wiki/Add-a-new-variant-%28board%29
Ha. Certainly, I could. But not, too much work on GPIO mapping table.
Sometimes I mod clock structure for my nucleos H7/F7/G4/F4 ...
- Sat Mar 22, 2025 1:46 am
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Nucleo-H533re support?
- Replies: 5
- Views: 268
Nucleo-H533re support?
Any plans on H533 in arduino IDE?
https://github.com/stm32duino/Arduino_C ... 2h5-boards
https://github.com/stm32duino/Arduino_C ... 2h5-boards
- Sun Jan 12, 2025 9:02 pm
- Forum: Ideas & suggestions
- Topic: DMA for SPI
- Replies: 24
- Views: 5020
Re: DMA for SPI
I have dma running with SPI, ADC, DAC on F4/ G4/ F7/ H7. CubeMX generated code works "as it is" under arduino IDE (official ST 1.8.9).
Have to write code myself only for double buffering with DMA, there was no examples a few years ago.
Have to write code myself only for double buffering with DMA, there was no examples a few years ago.
- Wed Oct 23, 2024 9:44 pm
- Forum: Let us know a bit about you and your projects
- Topic: Hi everyone!
- Replies: 1
- Views: 2035
Re: Hi everyone!
Hi,
datasheet is less important, Reference Manual more. First things to do is to cut RM in small pieces for each peripheral.
datasheet is less important, Reference Manual more. First things to do is to cut RM in small pieces for each peripheral.
- Thu Sep 12, 2024 9:31 pm
- Forum: General discussion
- Topic: Errors compiling SPI.setSSEL()
- Replies: 9
- Views: 3612
- Thu Jul 11, 2024 5:54 pm
- Forum: General discussion
- Topic: Use 2 SPI buses for DAC and Shift Regsiter
- Replies: 5
- Views: 2679
Re: Use 2 SPI buses for DAC and Shift Regsiter
shift register 595 drivem by stm32g474re-nucleo:
Serial.print(F("\n\tSPI-3..."));
delay(100);
SPI.setMOSI(PC12);
SPI.setMISO(PC11);
SPI.setSCLK(PC10);
SPI.beginTransaction(CS_PIN1, SPISettings(10000000UL, MSBFIRST, SPI_MODE0));
Serial.print(F("\tdone."));
more details on parameters for ...
Serial.print(F("\n\tSPI-3..."));
delay(100);
SPI.setMOSI(PC12);
SPI.setMISO(PC11);
SPI.setSCLK(PC10);
SPI.beginTransaction(CS_PIN1, SPISettings(10000000UL, MSBFIRST, SPI_MODE0));
Serial.print(F("\tdone."));
more details on parameters for ...
- Thu Jul 11, 2024 2:06 am
- Forum: General discussion
- Topic: Use 2 SPI buses for DAC and Shift Regsiter
- Replies: 5
- Views: 2679
Re: Use 2 SPI buses for DAC and Shift Regsiter
#include "SPI.h"
#define CS_PIN1 PA15
SPIClass SPI_i2;
#define CS_PIN2 PB12
// ADC
Serial.print(F("\n\tSPI-2..."));
delay(100);
SPI_i2.setMOSI(PB15);
SPI_i2.setMISO(PB14);
SPI_i2.setSCLK(PB13);
SPI_i2.beginTransaction( CS_PIN2, SPISettings(8000000UL, MSBFIRST, SPI_MODE0));
Serial.print ...
#define CS_PIN1 PA15
SPIClass SPI_i2;
#define CS_PIN2 PB12
// ADC
Serial.print(F("\n\tSPI-2..."));
delay(100);
SPI_i2.setMOSI(PB15);
SPI_i2.setMISO(PB14);
SPI_i2.setSCLK(PB13);
SPI_i2.beginTransaction( CS_PIN2, SPISettings(8000000UL, MSBFIRST, SPI_MODE0));
Serial.print ...
- Sun Jul 07, 2024 11:35 am
- Forum: General discussion
- Topic: I2S example
- Replies: 4
- Views: 3255
Re: I2S example
Code for nucleo-F446re.