November 24, 2024, 05:06:15 PM

Recent posts

#61
STMP1 / Re: audio play error!!
Last post by LubOlimex - November 04, 2024, 08:20:51 AM
I guess the alsamixer settings are not alright. Some of the channels are initially muted (like the volume was up but the whole channel was muted). You can change whether it is muted or unmuted with key "M" on the keyboard. Each mixer should have "OO" at the bottom if it says "MM" it is muted. However, I have a suggestion - for terminal use TeraTerm, alsamixer gets visualized much better with TaraTerm.

See how it looks here:

https://i.imgur.com/gJINyBL.png

This is what my asound.state looks like:

state.STM32MP1 {
control.1 {
iface MIXER
name 'Capture Digital Volume'
value.0 114
value.1 114
comment {
access 'read write'
type INTEGER
count 2
range '0 - 192'
dbmin -9600
dbmax 0
dbvalue.0 -3900
dbvalue.1 -3900
}
}
control.2 {
iface MIXER
name 'Capture ZC Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.3 {
iface MIXER
name 'DAC Deemphasis Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'Capture Polarity'
value Normal
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Normal
item.1 'L Invert'
item.2 'R Invert'
item.3 'L + R Invert'
}
}
control.5 {
iface MIXER
name 'Left Mixer Left Bypass Volume'
value 4
comment {
access 'read write'
type INTEGER
count 1
range '0 - 7'
dbmin -1500
dbmax 600
dbvalue.0 -300
}
}
control.6 {
iface MIXER
name 'Left Mixer Right Bypass Volume'
value 4
comment {
access 'read write'
type INTEGER
count 1
range '0 - 7'
dbmin -1500
dbmax 600
dbvalue.0 -300
}
}
control.7 {
iface MIXER
name 'Right Mixer Left Bypass Volume'
value 4
comment {
access 'read write'
type INTEGER
count 1
range '0 - 7'
dbmin -1500
dbmax 600
dbvalue.0 -300
}
}
control.8 {
iface MIXER
name 'Right Mixer Right Bypass Volume'
value 4
comment {
access 'read write'
type INTEGER
count 1
range '0 - 7'
dbmin -1500
dbmax 600
dbvalue.0 -300
}
}
control.9 {
iface MIXER
name 'PCM Volume'
value.0 167
value.1 167
comment {
access 'read write'
type INTEGER
count 2
range '0 - 192'
dbmin -9600
dbmax 0
dbvalue.0 -1250
dbvalue.1 -1250
}
}
control.10 {
iface MIXER
name 'Output 1 Playback Volume'
value.0 27
value.1 27
comment {
access 'read write'
type INTEGER
count 2
range '0 - 36'
dbmin -3000
dbmax 600
dbvalue.0 -300
dbvalue.1 -300
}
}
control.11 {
iface MIXER
name 'Output 2 Playback Volume'
value.0 27
value.1 27
comment {
access 'read write'
type INTEGER
count 2
range '0 - 36'
dbmin -3000
dbmax 600
dbvalue.0 -300
dbvalue.1 -300
}
}
control.12 {
iface MIXER
name 'Mic PGA Volume'
value.0 5
value.1 5
comment {
access 'read write'
type INTEGER
count 2
range '0 - 8'
dbmin 0
dbmax 2400
dbvalue.0 1500
dbvalue.1 1500
}
}
control.13 {
iface MIXER
name 'Differential Mux'
value 'Line 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Line 1'
item.1 'Line 2'
}
}
control.14 {
iface MIXER
name Route
value Stereo
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Stereo
item.1 'Mono (Left)'
item.2 'Mono (Right)'
item.3 'Digital Mono'
}
}
control.15 {
iface MIXER
name 'Left PGA Mux'
value 'Line 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Line 1'
item.1 'Line 2'
item.2 'Line 3'
item.3 Differential
}
}
control.16 {
iface MIXER
name 'Right PGA Mux'
value 'Line 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Line 1'
item.1 'Line 2'
item.2 'Line 3'
item.3 Differential
}
}
control.17 {
iface MIXER
name 'Left Line Mux'
value 'Line 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Line 1'
item.1 'Line 2'
item.2 PGA
item.3 Differential
}
}
control.18 {
iface MIXER
name 'Right Line Mux'
value 'Line 1'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Line 1'
item.1 'Line 2'
item.2 PGA
item.3 Differential
}
}
control.19 {
iface MIXER
name 'Left Mixer Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.20 {
iface MIXER
name 'Left Mixer Left Bypass Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.21 {
iface MIXER
name 'Left Mixer Right Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.22 {
iface MIXER
name 'Left Mixer Right Bypass Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.23 {
iface MIXER
name 'Right Mixer Left Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.24 {
iface MIXER
name 'Right Mixer Left Bypass Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.25 {
iface MIXER
name 'Right Mixer Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.26 {
iface MIXER
name 'Right Mixer Right Bypass Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}

I was able to get both my wav playing with:

aplay test.wav

and mp3 with mplayer with:

mplayer test.mp3
#62
STMP1 / Re: audio play error!!
Last post by gberi - November 04, 2024, 01:07:49 AM
Hello Team,

I just bought the "STMP157-BASE-SOM-EVB" and I, unfortunately, face the same issue as above when I am trying to play a MP3. I tried both images, full and minimal, but without success.

Has somebody found the issue in the ES8388 driver or is there another solution to this problem?

BR
Gabe
#63
ESP8266 / Neo6502 - WIFI MOD ESP8266 Bo...
Last post by Ibitato - November 02, 2024, 11:06:15 PM
Hello there, 
I purchased a Neo6502 and a Wifi Mod, to make my Agon Light 2 jealous , the other day.

Well, I did an over the air firmware update on the Wifi Module, and it seems completely bricked. 
I did it from the Neo6502 using the netconsole.neo program. 
I do not mind buying the necessary stuff from your shop to rewrite / recover the Wifi Mod, from my PC. 
I just find it a bit confusing what to buy, since a cable  mentioned in the manual I do not find on the Web, and I do not know if the mod-usb-rs232 is what I need to flash the wifi mod from my PC. 
Help would be appreciated, so I can go down the rabbit hole.......
Regards, D. 
#64
ESP32 / ESP32-EVB Rev.F pins for two I...
Last post by GeorgeFlorian - November 01, 2024, 04:03:38 PM
Apart from GPIO13/I2C-SDA and GPIO16/I2C-SCL what other pins can be used for I2C ?
Does this board have 2 I2C Bus interfaces ?

I want to link up a LCD display and a sensor to the ESP32-EVB Rev.F and I don't even know if it's possible on this board.
I was led to believe that we can use any free GPIO as I2C.
#65
STMP1 / Re: Alternate RAM for STMP157
Last post by LubOlimex - October 31, 2024, 09:30:13 AM
Just look at the contributors at the u-boot-olinuxino and olinuxino-tools projects at the Olimage GitHub projects and contact them over GitHub, I can't promise they'd want to assist you, tho.
#66
STMP1 / Re: Alternate RAM for STMP157
Last post by gs018 - October 30, 2024, 02:55:51 PM
Hi,

Can you please introduce some one from the software team of yours's who could help me ??
#67
STMP1 / Re: Alternate RAM for STMP157
Last post by LubOlimex - October 30, 2024, 02:46:29 PM
Unfortunately, that is all support I can provide for the software. Anything else would require considerable time and effort and this is open source project with all sources available even without purchase.
#68
STMP1 / Re: Alternate RAM for STMP157
Last post by gs018 - October 30, 2024, 12:01:03 PM
Hi,

I went through the stm32-ddr-1x4Gb-binG.dtsi file of the Olimax and I have generated my file from the cubeMX and there were certain parameter which are not present in the generated file such as -

#define DDR_DX0DLLCR 0x40000000
#define DDR_DX0DQTR 0xFFFFFFFF
#define DDR_DX0DQSTR 0x3DB02000
#define DDR_DX1DLLCR 0x40000000
#define DDR_DX1DQTR 0xFFFFFFFF
#define DDR_DX1DQSTR 0x3DB02000
#define DDR_DX2DLLCR 0x40000000
#define DDR_DX2DQTR 0xFFFFFFFF
#define DDR_DX2DQSTR 0x3DB02000
#define DDR_DX3DLLCR 0x40000000
#define DDR_DX3DQTR 0xFFFFFFFF
#define DDR_DX3DQSTR 0x3DB02000

can you please explain why are this used. and is this only parameters which are needed to be change or there are more parameters which are needed to be changed.
#69
STMP1 / Re: Alternate RAM for STMP157
Last post by LubOlimex - October 29, 2024, 01:44:14 PM
configs/STM32-OLinuXino-SOM_defconfig

Maybe also check arch/arm/dts/stm32mp1-olinuxino-som.dts and arch/arm/dts/stm32mp1-olinuxino-som-u-boot.dtsi

Also maybe look in the commits:

https://github.com/OLIMEX/u-boot-olinuxino/commits/release-20240312/
#70
STMP1 / Re: Alternate RAM for STMP157
Last post by gs018 - October 29, 2024, 01:11:12 PM
Thank you for your reply,

Can you please tell me the which deconfig file to use in the config directory to build the custom u-boot