Search found 30 matches

by jenspogo
Tue Jun 16, 2020 5:32 am
Forum: General discussion
Topic: Use STM32 as I2C Slave with DMA
Replies: 5
Views: 7851

Use STM32 as I2C Slave with DMA

Hey guys :)

I had an working system with an raspberry pi Master and an STM32F103 slave which collects data from other slaves via another I2C bus. I have done over 6000k measurements. I just added a few temperature sensors and it kills a lot of timing. To overcome this problem, I would like to use ...
by jenspogo
Thu Jun 11, 2020 11:04 am
Forum: General discussion
Topic: [Solved] SD.h or SDfat.h with SPI2
Replies: 9
Views: 11322

Re: SD.h or SDfat.h with SPI2

oh :D
It works.
my fault ;)
by jenspogo
Wed Jun 10, 2020 8:05 am
Forum: General discussion
Topic: [Solved] SD.h or SDfat.h with SPI2
Replies: 9
Views: 11322

[Solved] SD.h or SDfat.h with SPI2

Hey guys :)
I'm trying to use the SD.h or the SDfat.h lib with the second SPI on an STM32F103 - but I'm failing.
My Idea was to remap the Pins:

#include <SPI.h>

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
while(!Serial)
{
}

SPI.setMISO(PB14);
SPI.setMOSI(PB15 ...
by jenspogo
Fri May 29, 2020 12:28 pm
Forum: Custom design boards
Topic: Problem with custom made Board und HiD Bootloader
Replies: 7
Views: 9792

Re: Problem with custom made Board und HiD Bootloader

ok, strange...

first things first: It works right now - but I don't know why :D

Following things I have done with my three Boards and it works with every Board now:
programm the HID Bootloder (no programming possible, but I can read out the Serial.print stuff from programms programmed with ST Link ...
by jenspogo
Fri May 29, 2020 11:36 am
Forum: Custom design boards
Topic: Problem with custom made Board und HiD Bootloader
Replies: 7
Views: 9792

Re: Problem with custom made Board und HiD Bootloader

I have also tried the Maple bootloader with a positive result:

maple_loader v0.1
Resetting to bootloader via DTR pulse
Reset via USB Serial Failed! Did you select the right serial port?
Searching for DFU device [1EAF:0003]...
Assuming the board is in perpetual bootloader mode and continuing to ...
by jenspogo
Fri May 29, 2020 11:15 am
Forum: Custom design boards
Topic: Problem with custom made Board und HiD Bootloader
Replies: 7
Views: 9792

Re: Problem with custom made Board und HiD Bootloader

Hey everybody,
thanks for your replies :)
actually I just plugged in the USB - no other Supplies.

this are the Arduino Settings:
K640_einstellungenHIDBootloader.JPG

and here ist the generated Message:

+-----------------------------------------------------------------------+
| HID-Flash v2.2.1 ...
by jenspogo
Thu May 28, 2020 11:03 am
Forum: Custom design boards
Topic: Problem with custom made Board und HiD Bootloader
Replies: 7
Views: 9792

Problem with custom made Board und HiD Bootloader

Hey guys :)
I have designed my own STM32F103 Board as Raspberry Pi Extension with some additional Stuff like PWM up to 120W and Pmos Switches and som Inputs for Industrial 0-10V and 0-20mA input.
I also would like to use the Board with the HID bootloader from https://github.com/Serasidis/STM32_HID ...
by jenspogo
Sat May 23, 2020 10:44 am
Forum: General discussion
Topic: use a member function as wire2 callback function
Replies: 2
Views: 3733

use a member function as wire2 callback function

Hey everybody,
I have a problem in writing some Code. I'm definetly not a C++ expert - therefore it might be an easy problem for somebody who knows what he is doing.
I'm would like to use three Bluepill Boards communicating with a RaspberryPi over the I2C2 Bus as Slaves on the I2C2 Bus (the standard ...
by jenspogo
Tue May 19, 2020 6:04 pm
Forum: General discussion
Topic: RTC subseconds
Replies: 4
Views: 6886

Re: RTC subseconds

Might be true.
I thought about a combination of the RTC and a Millie Counter only between the logging calls.
I will try it out and if the results are more or less acceptable, I will show it here.
by jenspogo
Tue May 19, 2020 2:03 pm
Forum: General discussion
Topic: RTC subseconds
Replies: 4
Views: 6886

Re: RTC subseconds

ok, thanks!
Are there any Ideas how to build a workaround? maybe with the millis(); function?

Go to advanced search