I use sc589, I want setting module parameter, the source code use adi_ss_arm_fw_UpdateSSn to control paramter.
But sometimes it will cause the program error. like "noise" or "stop".
There is no way to re-download new schematic without using SPI if you are using Host MCU for schematic download.
If you have any limitation in external Host MCU SPI, Please refer the following document for more details on ARM as MCU without using external Host MCU.
Installation Drive:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel3.x.x\Docs\AE_42_SS4G_QuickStartGuide.pdf section "7 DemoUc application".
Thanks & Regards,
how read parameter at arm core .
Please find our reply for your query,
Query 2: "how read parameter at arm core ."
Currently read parameter is not supported.
Query 1: "I use sc589, I want setting module parameter, the source code use adi_ss_arm_fw_UpdateSSn to control parameter. But sometimes it will cause the program error. like "noise" or "stop"."
Please make sure following points before controlling parameter from ARM core,
1. Proper SHARC core's application DXE should be selected before exporting the code and parameter from your SigmaStudio Schematic.
2. Link compile of your schematic should be successful before exporting the code and parameter.
3.The parameter offset used for controlling should be same as exported parameter offset of your schematic.
Thanks for your reply.
Question1: Could I use uart at mcu and to read parameter from sc5xx. Or It's only can use spi?
Question2:Why sometimes adi_mdma_Copy2D executed but adi_mdma_IsCopyInProgress
Always In Progressing.
Please find our inline reply for your queries,
[REP] SPI is supported as of now. For better understanding of your requirement, please share your system details how is the system architecture and why you need UART support for parameter read.
[REP] May I know what is the system MIPS? (use Read MIPS).
Hi Sakthi^vel. I'm use sigmastudio for sharc sc5xx.
I need to read some input level or output level. If SC5XX can't read parameter, so i need add another MCU.
Mcu communication with SC5XX by SPI. But I want use other way like UART.
MCU send command to UART, If could call some function to pass it to SPI function, It's can work .
As i known, sigmastudio for sharc sc5xx inner code of SPI is private. So I don't known how to do it.
I can sure MIPS is at normal range.
But I have change the code of app. because the app code is limit 2 input pin and 1 output pin. So I need to change.
and sigmastudio can't use secondary channel of sport. It's too many limited.
my project have some offchipdelay module ,I use core transfer data. and if i use large stateC memory, like 1000ms.
adi_mdma_Copy would be error.
Reply to Query 1: Please let us know following details,
which version of SigmaStudio for SHARC your using?
Are you using MCU SPI host for SigmaStudio instead of PC?
As of now there is no support for UART based communication. Let us know why you are more interested on UART based communication, whether any system limitation with respect to your MCU?
Reply to Query 2: Whether stateC memory have enough space to 1000ms delay buffer?
Actually, I just want use SC5xx do all job, write and read parameter.
If Sigmastudio framework can do this, there is no problem.
If no other way to read parameter, I only add mcu to do this work.
and my hardware use STM32 mcu connection with SC5xx by UART.
the best way is at arm core to read parameter.
Query 2: Whether stateC memory have enough space to 1000ms delay buffer?
ANS:StateC memory use DDR, so It's obviously have enough space .
My module need to read offchip DDR memory.
For example, My schematic have 5 offchip delay ,but the offchip delay is limit 10ms.
everything is ok. If setting delay to 1s, adi_mdma_copy would error.
So I just only use memcopy to instead of adi_mdma_copy , and it's come back to normal.
When I use Sine tone oscillator , if frequency is lower than 20hz, the frequency is unstable.
How to use or make a stable freqeuncy and lower than 20hz module?
which version of SigmaStudio for SHARC your are using?
which target your using?
Whether you are using scope to capture the output or listening?
if scope then we will look into this issue and feedback to you.
the version is 3.11.
my test equipment is APx515.
the module is ok, I use sc573-ezboard tested.
The specified item was not found.
I have a new problem, Could you help me?
we will look into this issue and feedback to you.
The sine oscillator output got clipped at DAC when the gain level is more, So use volume control slider to limit the output gain. The output is fine when volume value set to less than -10dB.
I want redownload new schematic code at arm core, no external SPI. Have some api to do this work?
Retrieving data ...