Search found 125 matches

by fredbox
Sat Jul 25, 2020 5:15 pm
Forum: General discussion
Topic: Need some help with Bluetooth communication
Replies: 8
Views: 11673

Re: Need some help with Bluetooth communication

6. This is working fine and I am able to send text both ways. But the Serial.Write("Testing") still isn't being printed. Outputting anything to the USB or other serial ports during setup is usually a futile exercise. Roger's libmaple based core has been around for a few years and for a lo...
by fredbox
Fri Jul 24, 2020 11:46 pm
Forum: General discussion
Topic: Need some help with Bluetooth communication
Replies: 8
Views: 11673

Re: Need some help with Bluetooth communication

If using the STM32 official core, set both USART and USB to enabled with no generic Serial. Then define the serial port names so they won't move around on you. #define Serial SerialUSB // RX TX HardwareSerial Serial1(PA10, PA9); HardwareSerial Serial2(PA3, PA2); HardwareSerial Serial3(PB11, PB10); Y...
by fredbox
Wed Jul 15, 2020 11:23 pm
Forum: General discussion
Topic: Newbie stuck at first flash attempt (STM32F103)
Replies: 31
Views: 34200

Re: Newbie stuck at first flash attempt (STM32F103)

Since you are on Windows, see if you can get the Flasher-STM32 application working with a serial-usb connection.
See https://www.st.com/en/development-tools ... stm32.html for the program and https://youtu.be/wGbiT6IxGP0?t=257 for an example of using it.
by fredbox
Sun Jul 12, 2020 7:41 pm
Forum: General discussion
Topic: code crashing?, PC13 flashing? i2c
Replies: 7
Views: 6487

Re: code crashing?, PC13 flashing? i2c

I had a board like that a couple of years ago. It turned out that I had let the magic smoke out of diode D1 that fed power to the board from the USB connector. If you have another source of 3.3 volts (st-link, usb/serial adapter) you might try powering the board through a different source and see if...
by fredbox
Sat Jul 11, 2020 5:18 pm
Forum: General discussion
Topic: software i2c?
Replies: 7
Views: 6472

Re: software i2c?

you may want to consider switching the bus so that at a given point only one device is on the bus.
A TCA9548A module for a couple of dollars looks to be an easy hardware solution. I've never used one, but the description of the part seems to fit the requirement: See this link.
by fredbox
Fri Jul 10, 2020 9:41 pm
Forum: General discussion
Topic: software i2c?
Replies: 7
Views: 6472

Re: software i2c?

You might find some useful info in this pdf from STM.
by fredbox
Wed Jul 08, 2020 12:36 am
Forum: General discussion
Topic: NeoGPS Library Compatibility
Replies: 9
Views: 7971

Re: NeoGPS Library Compatibility

mrburnette wrote in this post: Honestly, decoding the serial NMEA is so easy a library is not required; simple state machine. Example in C for PSoC4: Here is his example to display the GPS time converted to STM32 (1.9.0): #define mySerial SerialUSB HardwareSerial gpsSerial(PA10, PA9); void setup() {...
by fredbox
Tue Jul 07, 2020 7:35 pm
Forum: General discussion
Topic: NeoGPS Library Compatibility
Replies: 9
Views: 7971

Re: NeoGPS Library Compatibility

I installed that library and get this warning: WARNING: library NeoGPS claims to run on avr, samd, sam, esp8266, arc32, esp32 architecture(s) and may be incompatible with your current board which runs on stm32 architecture(s). Looking at the complexity of that library, it may be more trouble than it...
by fredbox
Sun Jul 05, 2020 6:48 pm
Forum: Let us know a bit about you and your projects
Topic: hi, just re-joined
Replies: 4
Views: 3549

Re: hi, just re-joined

I mentioned you in this post viewtopic.php?p=2385#p2385 from a couple of months ago.
by fredbox
Mon Jun 29, 2020 10:24 pm
Forum: General discussion
Topic: BARTH STG with STM32F091xC
Replies: 11
Views: 9212

Re: BARTH STG with STM32F091xC

The boards menu is improved with Arduino 1.8.13. Arduino and STM32 boards each have their own menu.
A1.8.13_pq.png
A1.8.13_pq.png (10.98 KiB) Viewed 7027 times

Go to advanced search