Search found 1609 matches

by stevestrong
Sat Oct 21, 2017 9:18 am
Forum: Code snipplets
Topic: Waveform Generator (Two DAC examples)
Replies: 30
Views: 8552

Re: Waveform Generator (Two DAC examples)

The code you are using is for PT8211. For TDA1543, you have to : - exchange the high and low bytes order (it requires LSB then MSB, while your code is sending MSB then LSB) - the TDA is fed with 5V, the STM32F1 is working with 3.3V - level adaptation may be necessary EDIT - the signal values may be ...
by stevestrong
Fri Oct 20, 2017 12:01 pm
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 107
Views: 3865

Re: [libmaple] Black F407VET6

acronis wrote:
Fri Oct 20, 2017 11:54 am
It is possible as that to solve ?
Very probable that it can be solved.
Just the necessary time is missing...
by stevestrong
Fri Oct 20, 2017 9:41 am
Forum: Code snipplets
Topic: Waveform Generator (Two DAC examples)
Replies: 30
Views: 8552

Re: Waveform Generator (Two DAC examples)

I've been trying to make a blue pill works with a TDA1543, using the code from vassilis (http://www.stm32duino.com/viewtopic.php?f=18&t=519) I cannot find any specific code under the given link. What is the scope of the presented circuit and how should it work? What kind of signals are input to BCK...
by stevestrong
Fri Oct 20, 2017 9:32 am
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 21393

Re: CAN Bus Library for STM32F103

I'm able either to start my usual CAN script, or start USB as UART Serial port. That is a nice feature. But... Does anybody need it? I doubt. I think one uses one or the other, but I cannot imagine any application in which USB and CAN should be alternatively used. So in order to keep the original v...
by stevestrong
Thu Oct 19, 2017 1:41 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: halo from indonesia
Replies: 11
Views: 111

Re: halo from indonesia

For output on PA9/PA10, you have to use Serial1.

Code: Select all

void setup() {
    Serial1.begin(115200);
    Serial1.print("test print donk");
}
uint32_t counter;
void loop() {
  Serial1.println(counter++);
  delay(1000);
}
by stevestrong
Thu Oct 19, 2017 12:13 pm
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 107
Views: 3865

Re: [libmaple] Black F407VET6

Use the brackets correctly:

Code: Select all

dataPoints[j+1] = (&ADC2)->regs->DR & ADC_DR_DATA;
by stevestrong
Wed Oct 18, 2017 7:36 am
Forum: General discussion
Topic: Power Blue Pill and Maple Mini from external 3.3 source?
Replies: 5
Views: 159

Re: Power Blue Pill and Maple Mini from external 3.3 source?

I have a blue pill working 24/7 with external 3.3V supply since 6 months, with the on-board 5V->3.3V regulator.
And it still works...
by stevestrong
Wed Oct 18, 2017 7:34 am
Forum: Libary request
Topic: CAN Bus Library for STM32F103
Replies: 123
Views: 21393

Re: CAN Bus Library for STM32F103

Hm, I only had a short look into the PR, it seems to have changes really deep in the well optimized USB CDC part.
I am not happy to see this, I rate the risk to something go wrong on serial USB quite high.
by stevestrong
Mon Oct 16, 2017 7:35 am
Forum: STM32F4 Boards
Topic: Couldn't find the DFU device: [1EAF:0003]
Replies: 1
Views: 55

Re: Couldn't find the DFU device: [1EAF:0003]

It is a good practice to search the forum before you post something.
Maybe this will help you out: viewtopic.php?f=39&t=2663
by stevestrong
Sun Oct 15, 2017 4:10 pm
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 107
Views: 3865

Re: [libmaple] Black F407VET6

Oh well, I see your point, there are many places which use ADC as a pointer and not as the structure address.
The ideal solution would be to change the ADC module of F4 to be compatible with F1.
Till then, you can replace ADCx by (&ADCx).