Search found 11 matches

by SchroedersKater
Fri Dec 24, 2021 10:05 am
Forum: General Discussion and Questions
Topic: audiomp3 from CircuitPython
Replies: 5
Views: 17454

Re: audiomp3 from CircuitPython

Well, it's not running that bad with CircuitPython. But I would prefer it with MicroPython because one can use interrupts and threads with this. No DAC: quality is not that important for this project. Why not other hardware? 1st, because it's too expensive for my production. 2nd, I already tried DFP...
by SchroedersKater
Thu Dec 23, 2021 1:20 pm
Forum: General Discussion and Questions
Topic: audiomp3 from CircuitPython
Replies: 5
Views: 17454

Re: audiomp3 from CircuitPython

Thank you! But I need a software decoder that runs on the Raspberry Pi Pico.
by SchroedersKater
Wed Dec 22, 2021 5:17 pm
Forum: General Discussion and Questions
Topic: audiomp3 from CircuitPython
Replies: 5
Views: 17454

audiomp3 from CircuitPython

Has someone implemented an MP3 decorder like the one in audiomp3 or eventually converted audiomp3 from CircuitPython to MicroPython?
by SchroedersKater
Tue Dec 21, 2021 9:00 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico Mounting SD Card
Replies: 41
Views: 201859

Re: Pico Mounting SD Card

Well, I found out that there are SD cards that say they are version 2 cards, but in fact they are not. To get around this lie I modified sdcard.py like this. I hope someone profits from this. The timeout code looks different for version 1 and 2, so I modified this as well. _CMD_TIMEOUT = const(10) #...
by SchroedersKater
Mon Dec 20, 2021 3:52 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico Mounting SD Card
Replies: 41
Views: 201859

Re: Pico Mounting SD Card

Your post and mine became overlapped. Hope you don't get paid too bad. :lol:

Thank you very much anyway! Your help was very much appreciated.
by SchroedersKater
Mon Dec 20, 2021 3:50 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico Mounting SD Card
Replies: 41
Views: 201859

Re: Pico Mounting SD Card

OK, I invalidated the code that determines the type of card and made the driver think, the card is a version 1 type and it works. The card is accessible now. Now I have to find out how this card identifies itself as a version 1 card to differentiate between the different versions. There must be a se...
by SchroedersKater
Mon Dec 20, 2021 3:30 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico Mounting SD Card
Replies: 41
Views: 201859

Re: Pico Mounting SD Card

Thank you again!

Yes, I tried all you mentioned.

Maybe the CSD from init_card means something to you:

Code: Select all

CSD: 00 7F 00 32 53 5A 80 3B EE BB FF 9F 16 80 00 53
BTW, the driver determines the 128 MB card as a version 2 card. Is this possible? I thought, all cards < 4 Gb are version 1.
by SchroedersKater
Mon Dec 20, 2021 12:50 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico Mounting SD Card
Replies: 41
Views: 201859

Re: Pico Mounting SD Card

Yes, the CS pin is definitely correct. All my other cards work fine (8 GB) only the 10 128 MB cards I have refuse. I tried another port on the Pico as well, same result. How can I influence the timing? One more strange thing I noticed: On an 8 GB card it says, it has 15601664 sectors which is correc...
by SchroedersKater
Mon Dec 20, 2021 10:57 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico Mounting SD Card
Replies: 41
Views: 201859

Re: Pico Mounting SD Card

Thank you all! I tried several configurations and this is what I found out until now: - FAT16 or FAT32, doesn't matter. - Only the 128 MB cards make problems. - But I can read these cards fine on my Macs with different adapters, on a Windows PC and even with a DFPlayer Mini connected to the Pico. - ...
by SchroedersKater
Sun Dec 19, 2021 10:44 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico Mounting SD Card
Replies: 41
Views: 201859

Re: Pico Mounting SD Card

Thank you for this information!

After reading this I formatted 2 cards with FAT32 and got the same result. I’ll post my source code here tomorrow. Maybe some one has an idea what’s going on.