element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products & Partners
    Products & Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum ADAU1452 – audio stops when total program cycles exceed ~3105 (SigmaStudio, no compile errors)
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 337 subscribers
  • Views 45 views
  • Users 0 members are here
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

ADAU1452 – audio stops when total program cycles exceed ~3105 (SigmaStudio, no compile errors)

clebersoncts
clebersoncts 4 hours ago

Hello,

I am building a karaoke / PA sound system with an ADAU1452 and I have a problem that I could not solve after several days of testing. I would appreciate your help.

HARDWARE
- ADAU1452WBCPZ (top marking: ADAU1452WBCPZ #1929 D, Singapore) on a generic development module.
- Crystal 12.288 MHz. PLL: input divider 4, feedback divider 96, PLL locked. I expect a 294.912 MHz core clock.
- Clock generator 1: M = 6, N = 1 (48 kHz). N was 2 until yesterday; changing it made no difference.
- Two CS42448 codecs in 8-channel TDM on serial ports 0 and 1 (ADAU is master). A Bluetooth module (I2S) on serial input 2 through ASRC0.
- Programmer: a DIY USBi clone (Cypress CY7C68013A / FX2LP), I2C.
- Software: SigmaStudio 4.7. Logs before reinstalling show compiler 4.7.0 build 1827; after reinstalling, 4.6.0 build 1809. The problem is the same.

PROBLEM
The project compiles with 0 errors and 0 warnings and downloads normally. But when the total "Inst (cycles)" in compiler_output.log goes above about 3105, the audio of the main chain (loudspeaker, tweeter and subwoofer outputs) stops. This happens even when the added block is tiny (one 6-cycle mixer). Deleting any block, even an unrelated one, brings the audio back.

A short chain (input -> many biquads -> output) always works, even when I multiply the blocks. It looks like the blocks at the end of the program are not being executed.

Above the limit, the 3-way crossover also misbehaves: the Hi output carries mids and some lows, and the Lo and Mid outputs are silent. Below the limit, the same crossover works perfectly. The RMS limiter output is also strongly attenuated.

MEASUREMENTS (from compiler_output.log)
Total cycles / instructions / DM0 / result
2985 / 2973 / 95% / OK
3077 / 3065 / 95% / OK
3100 / 3088 / 95% / OK
3105 / 3093 / 75% / OK
3105 / 3093 / 95% / OK (larger delay)
3106 / 3094 / 95% / NO AUDIO (after adding one 6-cycle mixer)
3112, 3122, 3127, 3273 / more than 3094 / - / NO AUDIO

SigmaStudio reports 51% of 6144 at 3105 cycles. The behaviour looks as if the core had only about half of the instructions per sample (3072 at 48 kHz).

WHAT I HAVE RULED OUT
- Memory: it works with DM0 at 95%. DM1 is at 33-36% and PM at 57%.
- Panic manager: with the failing project loaded, there is no loop overrun, watchdog or parity error. Once, a latched DM0 Bank 1 parity error appeared; it cleared after "Clear panic manager" and did not come back.
- Chip variant (it is not the -150), clock settings, and a clean reinstall of SigmaStudio.
- The Program Counter registers gave inconsistent values, depending on the state of the clear button, so I could not use them.

QUESTIONS
1. Is there any known reason why a program of about 3100 cycles per sample would not finish on an ADAU1452 at 294.912 MHz and 48 kHz? For example, something that uses core cycles that the compiler does not count.
2. How can I measure the real number of cycles executed per sample and the real core clock? How should the Program Counter Length / Max Length registers be read?
3. Can a USBi clone (FX2LP) corrupt the download of larger programs without any error? Do you recommend a test, such as self-boot from EEPROM or an original programmer?
4. Is there a known issue with the RMS limiter block (strong attenuation, very low gain right after download)?

I can send the project file, all compiler logs, and screenshots of the Hardware Configuration tabs.

Thank you very much,
[Your name]

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz 3 hours ago +1
    Hi, How are you sure you've got an ADAU1452, or an ADAU1452-150? Or maybe something else (low-cost modules from some sources can have fake or differently labeled parts). I don't know if Sigma Studio…
  • shabaz
    0 shabaz 3 hours ago

    Hi,

    How are you sure you've got an ADAU1452, or an ADAU1452-150? Or maybe something else (low-cost modules from some sources can have fake or differently labeled parts). I don't know if Sigma Studio will report it, or not. Worth closely examining the print on the IC, in case it looks fake.

    It wouldn't matter if you're using the USBi clone, I doubt it is corrupting things, but it is an ugly solution, since it needs Zadig and also relaxing security settings on Windows 11 at least (I don't know what you're using), so for that reason alone the official tool is better.

    It is also worth asking on the AD forum, from memory they were quite responsive, but it's been a while since I tried that.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clebersoncts
    0 clebersoncts 3 hours ago in reply to shabaz

    Thank you for your response. I’ve run several tests to verify that the ADAU chip I’m using is indeed an ADAU1452, and it passed all of them. Before reaching out on a forum, I always try to resolve issues using AI, but I haven’t had any luck this time. The module I purchased is connected to a CS42448 via SPI; I originally had all the ports dedicated to a single CS42448, but I’ve since adapted it for an I2C connection. This setup allows me to connect two CS42448s, a Qualcomm Bluetooth module, and an output for an ESP32-P4 paired with a 7-inch capacitive touchscreen. All the inputs are working; the only issue is the one I mentioned. I’m still using Windows 10—could that be a factor? Or perhaps the programmer module I’m using is the cause? I’m in Brazil, and the only way to get these components is by ordering them online or from China, which means long shipping times. If I were certain that the programmer or the Windows OS was the problem, I would replace them.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube