Frank wrote: ↑Fri May 20, 2022 7:57 am
Interesting, what is the CLI version/platform? What is the command line you are running? Are you using the ICP or jumpering from the dev board to your board?
Latest CLI from the website running on Windows 10. Actually I was still using the GUI as of yesterday and saw that it was no longer supported so I suspected it might've been the issue. I downloaded the latest CLI but I have the same result.
I use -p 0 myprogram.fxc command to compile and then flash onto the chip but I also get the same behavior when flashing to ram (I don't remember the exact command as I'm not on my laptop rn but I know I'm using the right one as defined in -h)
And I am using the ICP.
Frank wrote: ↑Fri May 20, 2022 7:57 am
Have you looked at the lst file to see if it shows any errors in assembly?
No assembly error in the lst files with both the little gain program I posted or any of the default examples.
Frank wrote: ↑Fri May 20, 2022 7:57 am
Also need to consider what the chip is running internally that is different in function generator. Hmmmm, function generator is the only one that does not use an input it only writes to the output. I would look at the CODEC to FXCore lines and make sure there is nothing strange there. Your pass works but maybe something odd somewhere on the board..
Try the phase shifter, it only uses mreg and creg like function generator, no delay memory.
Which one would the phase shifter be? Anyhow, I tried all of them including the double shifter and the phaser (which I think might be the one you meant?) and I get the same result.
Like you, I suspect something funny on the input but AFAIK everything is coming in just fine from the codec, otherwise I don't think even a simple gain program would work?
Frank wrote: ↑Fri May 20, 2022 7:57 am
Unfortunately they seem to be V4 and we have V3 in house, can you export to V3? If not then please print to PDF files.
I would check the pin out, it sounds like you are pulling extra current for some reason.
Here's the schematics in PDF:
https://drive.google.com/file/d/13QinKE ... sp=sharing
The whole thing is split into two PCBs, one for power and analog signal path and then one for the digital stuff that gets fed 9VDC and has its own 1A LDO.
The switching is a little bit weird: I use a 4 channel CMOS-switch for both analog channels. Both channels are either routed to the codec or to the output so that when the effect is "bypassed", the codec input gets cut (trying for trails here). On the analog path sheet of the schematics you can see that the FXC output goes to a mixing pot along with the dry signal to a summing amp along with the bypassed input that would be floating when the fxc is on (but the line is pulled to gnd as to not leave it actually floating and for biasing). Sorry if this part is a little bit confusing. Will bring any clarification if needed.
So, pinouts are okay AFAIK and I doubt it's a soldering issue because I've been having the same warming up for the last few prototypes I built so I suspect I messed something up on the schematics so I would absolutely love if you had a look. Will provide PDF PCB layouts if needed.
All I can think of is that I might've something wrong in my schematics causing the pulling of extra current and I wouldn't be surprised that it would be also what's causing the white noise issue. I'll probably facepalm very hard when I see it.
Thank you for your time!