Search found 7 matches

by moelski
Sun Jan 31, 2021 1:38 pm
Forum: General discussion
Topic: Bootloader for programming with Serial Port CDM function
Replies: 2
Views: 2415

Bootloader for programming with Serial Port CDM function

Hi ! I´m a little bit lost regarding available / usefull bootloader possibilities with STM F1 and F4. I do a development which uses the F1 at the moment (Blue Pill). Next step is to port this to an F4 (405RG) chip. For uploading code I use an FTDI adapter and UART1. Now there is alsways this nice US...
by moelski
Mon Jan 18, 2021 5:57 pm
Forum: General discussion
Topic: SoftwareSerial did not working
Replies: 2
Views: 2224

SoftwareSerial did not working

Hi ! Can anyone tell me whats the problem with this code? #include <SoftwareSerial.h> HardwareSerial Serial1(USART1); // or HardWareSerial Serial2 (PA3, PA2); SoftwareSerial mySerial(PA3, PA2, true); // RX, TX void setup() { // Open serial communications and wait for port to open: Serial1.begin(5760...
by moelski
Mon Jan 18, 2021 1:39 pm
Forum: General discussion
Topic: Controller specific defines for STM
Replies: 3
Views: 2464

Re: Controller specific defines for STM

One additional question ...

Is it possible to have that in some print statement?
Something like

Code: Select all

Serial.Print("arch : "); Serial.Println(??ARCH??)
by moelski
Mon Jan 18, 2021 1:36 pm
Forum: General discussion
Topic: Controller specific defines for STM
Replies: 3
Views: 2464

Re: Controller specific defines for STM

Again. Many thx for your help.
This helps alot.

Dominik
by moelski
Mon Jan 18, 2021 11:35 am
Forum: General discussion
Topic: Serial Tx / Rx over one wire?
Replies: 5
Views: 3664

Re: Serial Tx / Rx over one wire?

Thx alot.
That is a good starting point.

Dominik
by moelski
Mon Jan 18, 2021 11:35 am
Forum: General discussion
Topic: Controller specific defines for STM
Replies: 3
Views: 2464

Controller specific defines for STM

Hello again, I´d like to port some code which uses prcocessor specific defines like this ones: __AVR_ATmega328P__ > AVR Mega 328 ESP8266 > ESP8266 __IMXRT1062__, ARDUINO_TEENSY41 > some Teensy boards Which defines can I use when working with the STM32? And can anyone tell me where I can find those d...
by moelski
Mon Jan 18, 2021 6:17 am
Forum: General discussion
Topic: Serial Tx / Rx over one wire?
Replies: 5
Views: 3664

Serial Tx / Rx over one wire?

Hi @all, I´m new to the STM32 - so please be patient with me :roll: We like to build some Sensors for a RC radio controll from FrSky. You can attach sensors which communicate serial over one line. So Tx and Rx are shared. There are also some great libs to get use of the smartport functionality: http...

Go to advanced search