Hi ADI,
we using ssm4567 on linux 3.10, while driver init, write soft_reset(0xff) to 0, return error code -5. other register can read write ok. what's the problem?
attach debug log
[edited by: sarvdo at 1:43 AM (GMT -5) on 10 Nov 2021]
Hi ADI,
we using ssm4567 on linux 3.10, while driver init, write soft_reset(0xff) to 0, return error code -5. other register can read write ok. what's the problem?
Hi ADI,
we using ssm4567 on allwinner A40i platform(Linux 3.10).i2c(0x34) interface can detect and read register value as following,but while insmod the codec driver module which got from github.com,…
Hi,
Sorry but I missed the link to wiki page for amixer. You can find it here: Linux Sound Driver [Analog Devices Wiki]
Unfortunately we don't support that "tinyalsa" lib so you have to figure out by yourself…
if we using alsamix, (not tinymix) pls list the setting cmd.
the driver is download from your web site........
Hi ADI,
we using ssm4567 on allwinner A40i platform(Linux 3.10).i2c(0x34) interface can detect and read register value as following,but while insmod the codec driver module which got from github.com, the Soft_reset(0xff) return -5.(issue #1)
#2 issue, which we are using tinymix cmd, to config the control path, there is no any control path return.
#3. how to config the control path?
Hello sarvdo,
I moved this over to the Linux part of the forum. I think they can help more than I can. The address you are writing to is 0xFF, that is not the address of the Soft Reset register so the driver must be translating to the correct address? 0xF890 is the correct address. I am not certain why it would return a -5. When you engage the soft reset the DSP will need to be reprogrammed. I am not sure if you are using Selfboot or not.
You mentioned the control path. This part has no standard or default signal path. You have to program the DSP using SigmaStudio and then the control objects will have addresses that have to be defined in any control programs. I think the Linux driver is only for the registers. This is why I moved this over to this forum so someone who is more knowledgeable of the Linux drivers.
We do have this tutorial for microcontroller interfacing which might be helpful for you.
Interfacing SigmaDSP Processors with a Microcontroller [Analog Devices Wiki]
Dave T
Hello sarvdo,
I moved this over to the Linux part of the forum. I think they can help more than I can. The address you are writing to is 0xFF, that is not the address of the Soft Reset register so the driver must be translating to the correct address? 0xF890 is the correct address. I am not certain why it would return a -5. When you engage the soft reset the DSP will need to be reprogrammed. I am not sure if you are using Selfboot or not.
You mentioned the control path. This part has no standard or default signal path. You have to program the DSP using SigmaStudio and then the control objects will have addresses that have to be defined in any control programs. I think the Linux driver is only for the registers. This is why I moved this over to this forum so someone who is more knowledgeable of the Linux drivers.
We do have this tutorial for microcontroller interfacing which might be helpful for you.
Interfacing SigmaDSP Processors with a Microcontroller [Analog Devices Wiki]
Dave T