Export system Files .h SIGMA_WRITE_DELAY erroroneus call
I dont know if this is a bug
Sigmastudio+ 3.3.0
wen i export system files , the .h generated, calls this function on SigmastudioFW.h,
with four arguments
SIGMA_WRITE_DELAY(DEVICE_ADDR_ADAU145XSCHEMATIC_0, R2_RESET_DELAY_ADDR_ADAU145XSCHEMATIC_0 , R2_RESET_DELAY_SIZE_ADAU145XSCHEMATIC_0 , R2_RESET_DELAY_ADAU145XSCHEMATIC_0_Data);
in SigmastudioFW.h the function is declared with 3 arguments, so compillation stops
void SIGMA_WRITE_DELAY(byte devAddress, int length, byte pData[])
i fixed it adding this same function with more arguments
void SIGMA_WRITE_DELAY(byte devAddress,int address, int length, byte pData[]) {
SIGMA_WRITE_DELAY(devAddress, length, pData);
}
Audio Signal Processors
c
software
adau1445
sigmastudio
SigmaDSP Audio Processors
Sigmastudio+ v 3.3.0
micronctroller
3.3.0
Show More
Hello FrankAlons0,
I can also see what you observed.
The SigmastudioFW.h file is from the uC interfacing wiki page which was originally created for sigma studio exported files. The Sigma studio exported file has only three arguments in that function, so has the FW.h file.
But the SS+ file has four arguments in that function, so we have to adjust the FW.h file as you did.
This is a little mismatch because the FW.h file wasn't written for SS+ and SS+ gives an additional argument if it's needed in any point.
So please make these changes manually.
Regards,
Harish
Thanks for the confirmation. ¿is there any more actual example of Mc and sigmastudio+ exported files?
Hello FrankAlons0,
There are no specific examples for SS+ and uC, but the exported files of SS and SS+ are almost the same. So, the people use the same example files from wiki and use it with their uC code.
The mismatch you noticed must be the only one I guess, otherwise the same example files from wiki will work for both SS and SS+ exported files.
Regards,
Harish
Please log in to reply.