Search found 1857 matches

by victor_pv
Mon Feb 19, 2018 1:59 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 757
Views: 15046

Re: F405 & F411 versions of the BluePill

Normally the datasheet for each MCU series shows the differences with other common ones. I.e, in the F722 datasheet, the changes for LQFP64 package are in page 17: F722 datasheet from what I have seen: F405: Assemble all components as listed, including the 2x2.2uF capacitors F103: Replace both 2.2uF...
by victor_pv
Mon Feb 19, 2018 5:32 am
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 757
Views: 15046

Re: F405 & F411 versions of the BluePill

I just finished reflowing 2 boards without MCU, RGB, Charger, and 2nd LDO. I found out I didn't have any ferrites because an order I placed a while back with some was wrong, so I had to use 0R in place of all ferrites. I also didn't have enought 10uF capacitors to reflow more than 2 boards for the s...
by victor_pv
Sat Feb 17, 2018 1:20 am
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 757
Views: 15046

Re: F405 & F411 versions of the BluePill

I got a nice box from Mouser today with all the components I was missing. Tomorrow I hope to cut the stencil, reflow a board with all top components except the MCU and check it all up for shorts or anything like that, then solder the MCU. Other than the track we need to cut and watching out for shor...
by victor_pv
Sat Feb 17, 2018 1:18 am
Forum: Code snipplets
Topic: I2S example code
Replies: 119
Views: 23908

Re: I2S example code

Now I am getting confused, the PCM53 that I can find in google is a 16bit DAC, not like the PCM61 which is a 18bit DAC, but the PCM53 is a parallel DAC, so I am guessing that was a typo. As far as the PCM61, you should check the datasheet of each and decide for yourself if it fits your applicaton. I...
by victor_pv
Fri Feb 16, 2018 7:07 pm
Forum: Code snipplets
Topic: I2S example code
Replies: 119
Views: 23908

Re: I2S example code

That one has 18bit of resolution vs the 16 bits in the pt8211, so they are not the same or work the same.
by victor_pv
Fri Feb 16, 2018 1:20 am
Forum: Off topic
Topic: I.C. Tester
Replies: 3
Views: 81

Re: I.C. Tester

May work out of the box, did you have a look at the code in github? seems to use all standard functions and libraries.
by victor_pv
Thu Feb 15, 2018 8:44 pm
Forum: STM32F103 Boards
Topic: STM32F103C8T6 (blue pill) audio feed through with PWM and timers
Replies: 7
Views: 192

Re: STM32F103C8T6 (blue pill) audio feed through with PWM and timers

Your interrupt handler should be called overflow, not on compare.
If I remember right you can do that by using this (but I don't remember for sure, haven't looked at the code in a few weeks or months now):

Code: Select all

timer.attachInterrupt(0, handler);
by victor_pv
Thu Feb 15, 2018 6:49 pm
Forum: STM32F103 Boards
Topic: STM32F103C8T6 (blue pill) audio feed through with PWM and timers
Replies: 7
Views: 192

Re: STM32F103C8T6 (blue pill) audio feed through with PWM and timers

timer.setPeriod(1023); You are setting manually the overflow and the prescaler, but setPeriod also sets the overflow and prescaler. Also I'm not sure what frequency you are wanting to play the samples at, since you are using a prescaler of 1 and overflow of 65535. That would mean: (72000000 /1)/655...
by victor_pv
Thu Feb 15, 2018 2:09 pm
Forum: Projects
Topic: STM32F1/F4 3d Printer board. Worth a kickstarter?
Replies: 17
Views: 545

Re: STM32F1/F4 3d Printer board. Worth a kickstarter?

Andy got to the key of the subject. For 3 axes with no levelling and 1 extruder, an AVR is enough. When you get to delta printers, mesh bed levelling, multiple extruder, multiple steppers per axle, the AVR are hitting limits and you either disable some features, or the printer chokes at higher speed...
by victor_pv
Wed Feb 14, 2018 5:29 pm
Forum: General discussion
Topic: Pin to Timer Number
Replies: 2
Views: 91

Re: Pin to Timer Number

PIN_MAP and the enum indices have to match, because that's what the core relies on everywhere.
I use a similar piece of code to decide the timer device, I don't think it can get simpler than that.