Embedded Intel Atom® Processors
Technological Conversations about Intel Atom® Hardware, Software, Firmware, Graphics
1146 Discussions

TDM with E3940 MCPS budget violation

JGR123
Beginner
1,315 Views

Hello,

i have an apollo lake cpu (E3940), i used the IADK and SSPBlobgenerator to generate the SSP and topology configs.

I am currently using the linux kernel version 5.4.92

The TDM is supposed to work in slave mode.

Audio transfers work, but i keep getting the following error:

MCPS Budget Violation: 9b050000

every 30 to 50 seconds.

From looking an the signal it seems to me like there is about 1ms of signal missing everytime the error ocurs.

Messing with the CPC/CPS/MCPS value in the topology did not seem to help.

Currently i am thinking the problems comes from the systick wich is not synchronized to the master (TDM) clock.

The IADK generates topology files with configuration values for the systick registers, but they are not handled by the current linux drivers.

I have tried to use this as basis to set the systick registers:

https://software.intel.com/content/www/us/en/develop/articles/firmware-programming-guide-s1000.html?wapkw=mcps%20quark#inpage-nav-3-29-14

I can read out the "large configs" for "MODULES_INFO", but reading out "FIRMWARE_CONFIG" does not seem to work correctly and i don't even know the offset for the "SchedulerConfig".

Does anybody have any hints for me ? (I have already signed a NDA)

Thanks

 

 

0 Kudos
6 Replies
IntelSupport
Community Manager
1,304 Views

Hello JGR123


Thank you for posting in the Intel Community.


We noticed that your question is related to an embedded Intel® processor, we have a forum for these specific issues. I am going to move your thread.


Regards,

Leonardo C.


Intel Customer Support Technician


0 Kudos
CarlosAM_INTEL
Moderator
1,290 Views

Hello, @JGR123:

Thank you for contacting Intel Embedded Community.

You should address this type of questions to the channels listed as a reference on the following website:

https://01.org/community

Best regards,

@CarlosAM_INTEL.

0 Kudos
JGR123
Beginner
1,265 Views

@CarlosAM_INTEL 

thank you for your response, could you explain to me where exactly on https://01.org/community i should ask my question?

I do not think it is really an opensource problem, i need to find the correct documentation describing the registers of the cavs dsp inside my apollo lake cpu.

On the other hand a driver that could handle the topology files generated by the "IADK" would also work.

 

0 Kudos
CarlosAM_INTEL
Moderator
1,238 Views

Hello, @JGR123:

Thanks for your reply.

We want to address the following questions to understand the reported situation:

Could you please let us know the versions, names, and the procedure followed to obtain the drivers?

Could you please let us know if the affected device is your own design or it is a third-party one? 

We are waiting for your answers to these questions.

Best regards,

@CarlosAM_INTEL.

0 Kudos
JGR123
Beginner
1,225 Views

Hello @CarlosAM_INTEL,

i currently using linux kernel Version 5.4.92, as the sound driver i am using a slightly modified version of the snd-soc-skl driver.

The modifications include the injection of "external" NHLT data and some additions to the frontend pcm devices.

The CPU is on a smarc module designed by congatec:

https://www.congatec.com/de/produkte/smarc/conga-sa5/

 

Best regards,

@JGR123 

0 Kudos
CarlosAM_INTEL
Moderator
1,208 Views

Hello, @JGR123:

Thanks for your reply.

Reviewing the website provided in your previous communication, it seems that the supported software by the third-party device related to your questions can be found there.  

However, you should confirm this information or address any questions related to the cited third-party device as a reference by filling out the form stated on the following website:

https://www.congatec.com/en/contact/

Best regards,

@CarlosAM_INTEL.

 

 

0 Kudos
Reply