Search found 1859 matches

by victor_pv
Mon Feb 19, 2018 5:33 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 760
Views: 15116

Re: F405 & F411 versions of the BluePill

I updated the list. Thinking about the user button, I have a concern on R5 being 0R. If it's populated and an unaware user connects PB8 to GND for whatever reason in his circuit, or drives PB8 down for some use, and then press the button, it can cause a short. Imagine a case where he chooses to use ...
by victor_pv
Mon Feb 19, 2018 3:52 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 760
Views: 15116

Re: F405 & F411 versions of the BluePill

There still might be some changes, I just received the micro USB connectors from AliExpress today, and they don't match exactly the Molex 47642-0001 footprint: the rear "hook" pins are closer to the PCB edge by 1 mm :x However, it perfectly matches the one on the original Bluepill! I asked the vend...
by victor_pv
Mon Feb 19, 2018 1:59 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 760
Views: 15116

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: 760
Views: 15116

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: 760
Views: 15116

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: 23917

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: 23917

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: 83

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: 201

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: 201

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...