Search found 76 matches
- Sat 2022-03-05 11:48
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
Thank you very much!
- Fri 2022-03-04 13:48
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
I think it is victory. :) :o ;) ... USEX(SCI_AICTRL1) = 0x7fff; } else { /* determine number of playable files */ USEX(SCI_AICTRL1) = OpenFile(0xffffU); } /////////////// R A N D O M S O N G ///////////////////////////// USEX(SCI_AICTRL0) = rand_seed = PowerUpRandom() % USEX(SCI_AICTRL1); //play a r...
- Fri 2022-03-04 12:33
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
Thanks.
- Thu 2022-03-03 8:13
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
Dear pasi, I'd like to try and come up with something too. But for this I need to at least be able to display variables in the UART. And now I either don’t see "Hello, world." in the terminal when: auto void MyMain(register s_int16 __a1 fullReset) { USEX(SCI_CLOCKF) = 0xc000; if (fullReset...
- Wed 2022-03-02 15:19
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
Thanks, I'll be waiting.
Because no one but you can answer this question right now.
Because no one but you can answer this question right now.
- Wed 2022-03-02 13:07
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
Code: Select all
if (fullReset) {
USEX(SCI_AICTRL0) = OpenFile(0xffffU);
}
Code: Select all
card ok
fat 31168512
files 1525
file not found
card ok
fat 31168512
files 1525
play 0 01-PIN~1MP3
- Tue 2022-03-01 17:59
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
- Mon 2022-02-28 15:10
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
Dear pasi,
I found a solution.
N= 1500
very good
but...
no work
Why?
long wait and no work too 
I found a solution.
Code: Select all
return val % N;
very good
but...
Code: Select all
return val % USEX(SCI_AICTRL1);
Why?
Code: Select all
val = val % OpenFile(0xffffU);
return val;

- Fri 2022-02-25 18:25
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
IMHO pseudo-random file number turned out to be more than there are files in microSD.
Sometimes the number is on the allowed list:
Code: Select all
card ok
fat 31168512
files 1525
file not found
card ok
fat 31168512
files 1525
play 0 01-PIN~1MP3
Code: Select all
card ok
fat 31168512
files 1525
play 671 56-BEE~1MP3
- Fri 2022-02-25 16:50
- Forum: Stand-Alone Applications
- Topic: VS1053 Standartalone Player
- Replies: 43
- Views: 2030
Re: VS1053 Standartalone Player
void IdleHook(void); //extern __mem_y u_int16 rand_seed; u_int16 PowerUpRandom(void) { register __mem_y u_int16 *p = (__mem_y void *)0xe000, val = 0; register int i; for (i=0;i<0x2000;i++) { /* Probably takes 8192 cycles (up to 24576 depending on the compiler smartness). */ val ^= *p++; } return va...