Search found 950 matches

by victor_pv
Sun Mar 26, 2017 10:36 pm
Forum: General discussion
Topic: GPIO interrupts not re-entry safe?
Replies: 4
Views: 52

Re: GPIO interrupts not re-entry safe?

Could you please post your code? "and a small loop" Loop? Why? I just created a new file trying to isolate the problem (the actual code is around 50 files). Doing some tests, It seems that its not the re-entry nor the delay that is the issue. I also thought that it might be writing serial...
by victor_pv
Sun Mar 26, 2017 7:57 pm
Forum: Off topic
Topic: this one is pure gravity
Replies: 4
Views: 54

Re: this one is pure gravity

zmemw16 wrote:981/100

google 9.81


You already passed it :p
by victor_pv
Sun Mar 26, 2017 7:56 pm
Forum: Projects
Topic: STM32F103 minimal synth
Replies: 13
Views: 151

Re: STM32F103 minimal synth

Once I clean it up and upload it I will post in the libraries section. Helo Viktor, that sounds very interesting. When do you think the library is online? Here is an application note from ST which could be probably very useful: http://www.st.com/en/embedded-software/x-cube-pwm-dithr.html Meanwhile ...
by victor_pv
Sat Mar 25, 2017 4:36 pm
Forum: Projects
Topic: STM32F103 minimal synth
Replies: 13
Views: 151

Re: STM32F103 minimal synth

To add a bit to this thread: Yes you can use PWM output to generate a wave. I did a dirty port of the TMRPCM library that works ok so far and does that. You can use interrupts to reload the timers registers, and you can use DMA. My library is in github in an old version with a few bugs. There is a t...
by victor_pv
Sat Mar 25, 2017 1:38 pm
Forum: Working / ported libraries
Topic: Ported: FreeRTOS 9.0.0
Replies: 3
Views: 157

Re: Ported: FreeRTOS 9.0.0

I have sent a pull request to Roger. The library is now available in a branch of my fork. If anyone wants to download, it's here:
https://github.com/victorpv/Arduino_STM32/tree/FreeRTOS900
by victor_pv
Sun Mar 19, 2017 7:03 pm
Forum: General discussion
Topic: Empty project occupies 12K flash and 4K RAM?
Replies: 2
Views: 68

Re: Empty project occupies 12K flash and 4K RAM?

It's normal due to the flash and ram needed to initialize all the peripherals in the MCU.
This thread shows some of the normal numbers in the first post, but there are more threads in the subject:
viewtopic.php?f=16&t=91&p=565&hilit=empty+sketch#p565
by victor_pv
Thu Mar 16, 2017 7:16 pm
Forum: Problems with libraries
Topic: winbond SPIFlash.h define for delayMicroseconds(us)
Replies: 12
Views: 216

Re: winbond SPIFlash.h define for delayMicroseconds(us)

Yes, it work! with the upper topic Thanks again #if defined (ARDUINO_ARCH_SAM) || defined (ARDUINO_ARCH_SAMD) || defined (ARDUINO_ARCH_ESP8266) || defined(__STM32F1__) Now see if my project with load binary from sdcard to winbond BIOS work .On arduino pro mini time to loading was 45minutes...:) How...
by victor_pv
Thu Mar 16, 2017 7:13 pm
Forum: Maple mini
Topic: Problems with converting Arduino Nano code over to Maple Mini. Help needed.
Replies: 79
Views: 1516

Re: Problems with converting Arduino Nano code over to Maple Mini. Help needed.

New and frustrating problem. The Maple Mini is processing microseconds too quickly. It's supposed to produce an initial pulse of 619 microseconds and its producing one of just over 500. Unfortunately with the TZXMaple code timing really is everything and it just seems to be running way too fast. Od...
by victor_pv
Thu Mar 16, 2017 3:36 am
Forum: Generic STM32F103
Topic: Generic STM32F103R board not showing up in device manager and serial ports
Replies: 17
Views: 340

Re: Generic STM32F103R board not showing up in device manager and serial ports

The high-side USB switch is active low (pnp or pmos Q1). The pin driving the Q1 must be set and compiled within the bootloader. The pin needs to be set and compiled in the bootloader for the DFU enumeration, but also in the core for re-enumeration when the sketch starts and Serial-USB starts with i...
by victor_pv
Wed Mar 15, 2017 5:19 pm
Forum: Generic STM32F103
Topic: Generic STM32F103R board not showing up in device manager and serial ports
Replies: 17
Views: 340

Re: Generic STM32F103R board not showing up in device manager and serial ports

From the pictures looks like the transistor Q1 is wired to pin 38 in the MCU (PC7), not sure if it is active High or Low. The USB pins go PA11 and PA12, which are the right ones. If PC7 is driven the wrong way it may be blocking USB communication. I dont remember how the pull up transistor is manage...

Go to advanced search