Search found 1781 matches

by victor_pv
Tue Jan 16, 2018 3:32 am
Forum: Projects
Topic: stm32f103c8 or esp32 for a datalogger
Replies: 9
Views: 109

Re: stm32f103c8 or esp32 for a datalogger

... remember, you must release the Arduino code every 50mS or shorter in order to keep the RF side of the ESP8266 healthy! Sorry for sidetracking the thread, but what did you mean with that, how to you release the code? with a delay() perhaps? I don't have experience with the ESP yet, but was think...
by victor_pv
Tue Jan 16, 2018 3:27 am
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 596
Views: 11141

Re: F405 & F411 versions of the BluePill

i2c eeprom/fram and pull up resistors foot print? May be a good option if routing one of the i2c ports there is easy, since it's just 2 data lines and power. Not sure how frequently other people use them, I have used them a couple of times to avoid wearing out the flash, but the board already has sd...
by victor_pv
Tue Jan 16, 2018 3:23 am
Forum: General discussion
Topic: [SOLVED] Enable interrupts from inside a timer interrupt
Replies: 5
Views: 46

Re: Enable interrupts from inside a timer interrupt

As dannyf said different interrupts have different priorities. Check the datasheet to see which of the timers have higher priority, and that one should be able to "fire" within the other one.
by victor_pv
Sun Jan 14, 2018 5:28 pm
Forum: Off topic
Topic: chineese STM32 based control board for 3D printer
Replies: 20
Views: 2391

Re: chineese STM32 based control board for 3D printer

Is that in the bluepill or in the Malyan board?
The Malyan one has watchdog enabled in the config bits. The watchdog should be reset every second or so, but perhaps something is not going well and not resetting it on time.

Did you try any other host application.
by victor_pv
Sat Jan 13, 2018 9:56 pm
Forum: General discussion
Topic: Need Help with EEPROM Emulation
Replies: 11
Views: 130

Re: Need Help with EEPROM Emulation

How are you uploading the sketch?
Is it possible that your upload method is erasing the whole memory at once?
Our bootloader should not do that, but if using the ROM bootloader, stlink or any other jtag probe, it's possible that's erasing all memory before writing rather than erase indivual pages.
by victor_pv
Fri Jan 12, 2018 9:03 pm
Forum: Off topic
Topic: chineese STM32 based control board for 3D printer
Replies: 20
Views: 2391

Re: chineese STM32 based control board for 3D printer

Goran, nice page with lots of details. Only thing I didn't completely understand, did you load the Malyan firmware bin file but using our bootloader, is that right? That's interesting, I would think their firmware had to be compiled for the addresses where our bootloader load the sketches, so perhap...
by victor_pv
Thu Jan 11, 2018 5:41 pm
Forum: Projects
Topic: Another "blue pill" synthesizer
Replies: 7
Views: 268

Re: Another "blue pill" synthesizer

Steve put quite some effort in optimizing the normal SPI functions to achieve max speed, so the results you see are expected. There are some other threads where we discussed those optimizations. Since sending or receiving 1 byte takes at the very least 16 cpu cycles, he made the loop tight enough th...
by victor_pv
Thu Jan 11, 2018 5:25 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 596
Views: 11141

Re: F405 & F411 versions of the BluePill

I agree with leaving it at 2 layers, at least at the moment.
Let's try to get some prototypes working, then if we need to change things for another revision because there is too much noise or whatever else, can be done later.
by victor_pv
Wed Jan 10, 2018 9:43 pm
Forum: Projects
Topic: Another "blue pill" synthesizer
Replies: 7
Views: 268

Re: Another "blue pill" synthesizer

Moreover, if you use the SdFatEX class, it would speed up the read process a lot. Adding to what Steve said, you should gain speed when using the SdFat library since it uses DMA, more so with the SdFatEX class, but even with the normal one. SdFatEX will give you better speed for sequential access. ...
by victor_pv
Thu Jan 04, 2018 7:28 pm
Forum: Projects
Topic: Alternative USB Discovery Circuit
Replies: 3
Views: 155

Re: Alternative USB Discovery Circuit

Not sure if you are aware, but we discovered we could force re-enumeration without any external circuit, and we use that method with generic boards that lack the circuit. I don't remember seeing anyone posting of a problem with that method, so you could give it a shot and may be able to skip all tha...