ok thanks
Can you check my syntax for the hardware timer class
I am not sure what is correct
see my last post
U2G8 OLED is working fine I have checked on other sketches
Search found 12 matches
- Thu Sep 16, 2021 2:57 pm
- Forum: General discussion
- Topic: Bluepill project transferring to Blackpill
- Replies: 5
- Views: 4638
- Thu Sep 16, 2021 12:09 pm
- Forum: General discussion
- Topic: Bluepill project transferring to Blackpill
- Replies: 5
- Views: 4638
Re: Bluepill project transferring to Blackpill
- Better re-check pinout for you board. On STM32F401CC TIM5 is connected to PA0/1/2/3. TIM2 is alternate function, not default.
You could compare to bluepill:
F401 https://github.com/stm32duino/Arduino_Core_STM32/blob/master/variants/STM32F4xx/F401CC(F-U-Y)_F401C(B-D-E)(U-Y)/PeripheralPins ...
- Wed Sep 15, 2021 8:08 pm
- Forum: General discussion
- Topic: Bluepill project transferring to Blackpill
- Replies: 2
- Views: 4003
Bluepill project transferring to Blackpill
Hi there
I downloaded a Bluepill project and I can't work out why this won't work out on a Blackpill STM401
It is a quadrature LFO for analogue synthesisers
I have verified my connections to the OLED and the SPI DAC - both work fine
Is it something to do with the Timer commands? Sorry I am a bit of ...
I downloaded a Bluepill project and I can't work out why this won't work out on a Blackpill STM401
It is a quadrature LFO for analogue synthesisers
I have verified my connections to the OLED and the SPI DAC - both work fine
Is it something to do with the Timer commands? Sorry I am a bit of ...
- Wed Sep 15, 2021 8:06 pm
- Forum: General discussion
- Topic: Bluepill project transferring to Blackpill
- Replies: 5
- Views: 4638
Bluepill project transferring to Blackpill
Hi there
I downloaded a Bluepill project and I can't work out why this won't work out on a Blackpill STM401
It is a quadrature LFO for analogue synthesisers
I have verified my connections to the OLED and the SPI DAC - both work fine
Is it something to do with the Timer commands? Sorry I am a bit of ...
I downloaded a Bluepill project and I can't work out why this won't work out on a Blackpill STM401
It is a quadrature LFO for analogue synthesisers
I have verified my connections to the OLED and the SPI DAC - both work fine
Is it something to do with the Timer commands? Sorry I am a bit of ...
- Wed Dec 30, 2020 9:09 am
- Forum: General discussion
- Topic: Help - no SPI on 411
- Replies: 7
- Views: 6179
Re: Help - no SPI on 411
You can't omit the MISO pin.
If you want use the PB3 and PB5 you have to set all pins to the same SPI3 peripheral instance as described in the PeripheralPins.c :
Amazing thanks. So if I understand correctly my instance was not working because I had not changed the MISO pin together with the ...
- Tue Dec 29, 2020 11:04 pm
- Forum: General discussion
- Topic: Help - no SPI on 411
- Replies: 7
- Views: 6179
Re: Help - no SPI on 411
Do I need to download and install this SPI library? I am confused
https://github.com/stm32duino/Arduino_C ... raries/SPI
And if so how do I keep both SPI Teensy and STM32 on the Arduino IDE?
https://github.com/stm32duino/Arduino_C ... raries/SPI
And if so how do I keep both SPI Teensy and STM32 on the Arduino IDE?
- Tue Dec 29, 2020 10:30 pm
- Forum: General discussion
- Topic: Help - no SPI on 411
- Replies: 7
- Views: 6179
Re: Help - no SPI on 411
I would use the SPIClass command but I do not know how to omit MISO pin because I do not need it
so
SPIClass SPI(SPI_MOSI, SPI_MISO, SPI_SCK);
can I do
SPIClass SPI(SPI_MOSI,, SPI_SCK);
or
SPIClass SPI(SPI_MOSI, 0, SPI_SCK);
??
Cant find info on this
so
SPIClass SPI(SPI_MOSI, SPI_MISO, SPI_SCK);
can I do
SPIClass SPI(SPI_MOSI,, SPI_SCK);
or
SPIClass SPI(SPI_MOSI, 0, SPI_SCK);
??
Cant find info on this
- Tue Dec 29, 2020 9:56 pm
- Forum: General discussion
- Topic: Help - no SPI on 411
- Replies: 7
- Views: 6179
Re: Help - no SPI on 411
I am using this corestevestrong wrote: Tue Dec 29, 2020 9:45 pm Which core do you use? Which board have you selected in Arduino IDE?
https://github.com/stm32duino/BoardMana ... index.json
And I have selected Black Pill F411CE
- Tue Dec 29, 2020 9:33 pm
- Forum: General discussion
- Topic: Help - no SPI on 411
- Replies: 7
- Views: 6179
Help - no SPI on 411
Sorry I am complete beginner here
I have used DACS MPC4822 and 4922 with success with Teensy 3.6 and 4.0
I decided to migrate a project from Teensy to STM32F411
The code I used successfully with Teensy does not seem to be working on the 411. I cannot get any clock or SDI to begin
I believe the lines ...
I have used DACS MPC4822 and 4922 with success with Teensy 3.6 and 4.0
I decided to migrate a project from Teensy to STM32F411
The code I used successfully with Teensy does not seem to be working on the 411. I cannot get any clock or SDI to begin
I believe the lines ...
- Sun Dec 27, 2020 4:41 pm
- Forum: General discussion
- Topic: Sorry Beginner question F411 USB PINS
- Replies: 4
- Views: 3106
Re: Sorry Beginner question F411 USB PINS
awesome much appreciatedGonzoG wrote: Sun Dec 27, 2020 1:46 pm Yes, you need to disable USB support.
Yes, all pins are interrupt capable but you can use only 16 interrupts, so only one pin with same number can be used (eg. you cannot use interrupts on PA1 and PB1, only on one of them)