4feecfe3b80a57ddf50d371b0f9514d59f988398
Board-dat/MPC/MPC1083-dat/MPC1083-dat.md
| ... | ... | @@ -8,13 +8,15 @@ |
| 8 | 8 | |
| 9 | 9 | ### Config Mode |
| 10 | 10 | |
| 11 | -| Mod1 | Mod2 | Mode | |
|
| 12 | -| ---- | ----- | -------------- | |
|
| 13 | -| GND | VCC | I2C (default) | |
|
| 14 | -| VCC | *any* | SPI | |
|
| 15 | -| GND | GND | Hardware | |
|
| 11 | +| Mod1 | Mod2 | Mode | |
|
| 12 | +| ---- | ---- | -------------- | |
|
| 13 | +| GND | VCC | I2C (default) | |
|
| 14 | +| VCC | any | SPI | |
|
| 15 | +| GND | GND | Hardware | |
|
| 16 | + |
|
| 17 | +I2C Address = 0x4D |
|
| 18 | + |
|
| 16 | 19 | |
| 17 | -I2C Address |
|
| 18 | 20 | |
| 19 | 21 | ADR1 = pull-up, ADR2 = pull-down |
| 20 | 22 | |
| ... | ... | @@ -55,6 +57,39 @@ MOD1 - GND, MOD2 - GND = Hardware |
| 55 | 57 | - Raspbian - [[RPI-OS-dat]] - [[PCM5122-RPI-dat]] |
| 56 | 58 | - OSMC |
| 57 | 59 | |
| 60 | +### aplay test |
|
| 61 | + |
|
| 62 | +aplay -l |
|
| 63 | + |
|
| 64 | + pi@raspberrypi:~ $ aplay -l |
|
| 65 | + **** List of PLAYBACK Hardware Devices **** |
|
| 66 | + xcb_connection_has_error() returned true |
|
| 67 | + card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0] |
|
| 68 | + Subdevices: 1/1 |
|
| 69 | + Subdevice #0: subdevice #0 |
|
| 70 | + card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones] |
|
| 71 | + Subdevices: 8/8 |
|
| 72 | + Subdevice #0: subdevice #0 |
|
| 73 | + Subdevice #1: subdevice #1 |
|
| 74 | + Subdevice #2: subdevice #2 |
|
| 75 | + Subdevice #3: subdevice #3 |
|
| 76 | + Subdevice #4: subdevice #4 |
|
| 77 | + Subdevice #5: subdevice #5 |
|
| 78 | + Subdevice #6: subdevice #6 |
|
| 79 | + Subdevice #7: subdevice #7 |
|
| 80 | + card 2: BossDAC [BossDAC], device 0: Boss DAC HiFi pcm512x-hifi-0 [Boss DAC HiFi pcm512x-hifi-0] |
|
| 81 | + Subdevices: 1/1 |
|
| 82 | + Subdevice #0: subdevice #0 |
|
| 83 | + |
|
| 84 | +download a test mp3 here. [[test.mp3]] |
|
| 85 | + |
|
| 86 | + |
|
| 87 | +## demo video |
|
| 88 | + |
|
| 89 | +- x - https://x.com/electro_phoenix/status/1871071433797046460 |
|
| 90 | +- yt - https://www.youtube.com/shorts/psUuKwltYpI |
|
| 91 | +- tg - https://t.me/electrodragon4/305 |
|
| 92 | + |
|
| 58 | 93 | ## ref |
| 59 | 94 | |
| 60 | 95 | - [[PCM5122-dat]] - [[TI-dat]] - [[RPI-OS-dat]] - [[PCM5122-RPI-dat]] |
Board-dat/MPC/MPC1083-dat/test.mp3
| ... | ... | Binary files /dev/null and b/Board-dat/MPC/MPC1083-dat/test.mp3 differ |
Chip-dat/TI-dat/PCM5122-dat/PCM5122-RPI-dat.md
| ... | ... | @@ -4,6 +4,7 @@ |
| 4 | 4 | 1) Modify the config.txt on termianl. Open the config.txt in system. |
| 5 | 5 | |
| 6 | 6 | sudo nano /boot/config.txt |
| 7 | + sudo nano /boot/firmware/config.txt |
|
| 7 | 8 | |
| 8 | 9 | Append the following lines to the end of the file,enable the audio module.Draw attention to theformat , Otherwise it doesn't work. press "ctrl+o" and press "Enter" to save the file. Reboot thesystem. |
| 9 | 10 | |
| ... | ... | @@ -11,6 +12,10 @@ Append the following lines to the end of the file,enable the audio module.Draw a |
| 11 | 12 | |
| 12 | 13 |  |
| 13 | 14 | |
| 15 | +and not yet tested: |
|
| 16 | + |
|
| 17 | + dtoverlay=i2s-mmap |
|
| 18 | + dtoverlay=hifiberry-dacplus |
|
| 14 | 19 | |
| 15 | 20 | 2)Check the DAC module |
| 16 | 21 |