Search found 30 matches

by Franke39
Wed Feb 03, 2021 11:19 pm
Forum: General discussion
Topic: TJA1050 CAN bus library
Replies: 2
Views: 5073

Re: TJA1050 CAN bus library

There are many STM32F103 CAN Bus libraries on github. Do a search and pick your favorite :)
by Franke39
Wed Jan 27, 2021 10:12 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9743

Re: program modification

I had a 128x64 OLED connected to PB10 / PB11 and the scanner displayed:
I2C device found at address 0x3C

If your STM32F103 board has a green LED, it is not the same one I have and that may explain your results.
by Franke39
Wed Jan 27, 2021 8:28 pm
Forum: Off topic
Topic: No one even mentioned the new Raspberry Pi Pico?
Replies: 79
Views: 1706899

Re: No one even mentioned the new Raspberry Pi Pico?

^^ Interesting... Thanks for taking the time to put this together.
by Franke39
Wed Jan 27, 2021 8:25 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9743

Re: program modification

Here is an I2C scanner for the second I2C bus. I have verified its function on my STM32F103 using I2C #2. // -------------------------------------- // i2c_scanner // // Version 1 // This program (or code that looks like it) // can be found in many places. // For example on the Arduino.cc forum. // T...
by Franke39
Wed Jan 27, 2021 3:17 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9743

Re: program modification

What do you want to do?
Scan the second I2C bus, or use the second I2C bus?

The code above is a jumble of setting up the second I2C bus and scanning the first I2C bus.
by Franke39
Wed Jan 27, 2021 2:03 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9743

Re: program modification

The number of connections/wires needed is determined by the OLED display. The Adafruit ones have a dedicated connection for reset, (and may also have optional SPI) BUT the cheaper ones don't. I am using one of the cheaper ones and it has 4 connections: ground, Vcc, SCL and SDA. When you asked for a ...
by Franke39
Wed Jan 27, 2021 1:57 pm
Forum: General discussion
Topic: [Solved] I2C OLED Only Displays if Reset is Pressed??
Replies: 9
Views: 5867

Re: [Solved] I2C OLED Only Displays if Reset is Pressed??

The number of connections/wires needed is determined by the OLED display. The Adafruit ones have a dedicated connection for reset, (and may also have optional SPI) BUT the cheaper ones don't. I am using one of the cheaper ones and it has 4 connections: ground, Vcc, SCL and SDA. When you asked for a ...
by Franke39
Wed Jan 27, 2021 1:25 pm
Forum: Off topic
Topic: No one even mentioned the new Raspberry Pi Pico?
Replies: 79
Views: 1706899

Re: No one even mentioned the new Raspberry Pi Pico?

I look forward to seeing the performance comparison between the Pico, Uno/Nano, STM32F1, STM32F4, ESP 8266 and the ESP32.
by Franke39
Thu Jan 21, 2021 11:26 pm
Forum: General discussion
Topic: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?
Replies: 11
Views: 6366

Re: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?

I have resolved the errors and will post what I did in a new thread.
I think it may be useful to others see one method to how to get an Arduino library that uses SPI.something working on the STM32F1 SPI2 5 volt tolerant bus.

Once I have done the post, I will add the link here.
by Franke39
Thu Jan 21, 2021 7:38 pm
Forum: General discussion
Topic: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?
Replies: 11
Views: 6366

Re: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?

Hi, When you say it worked on 5-6 programs , I assume you mean the board accepted 5 - different .bin files and flashed them and they booted (be it blink or what ever) but when you upload your code it wont function, I assume then yes there is a conflict, i would start by putting serial.print right a...

Go to advanced search