Hi R,
Lots of good stuff there, thanks.
I'll change the PORT to LAT. I think LAT means latched, wich to me seem more positive, although I'm not sure.
Normally the MASTER 4620 addresses 3x peripherals, and the 4431 is an addition, so I'm only trying to get that to work on it's own first. I didn't know that, the CS count has to equal the peripheral count, I'll be more careful.
I normally use CS, but as the 4431 is addressed via an SS input PIN, I kind of use SS on this one only, to remind me. Each peripheral, has it's own CS, so e,g, this one would be 4431_CS and be connected to it's SS PIN.
The person that wrote those programs, has been very helpful, so I can't tell him he doesn't know what he's doing really :)
I have 2x PCBs almost the same. I've been testing all morning, and the same result on one PCB, i,e, with the altemeter connected, than rubbisg signal, and removed good.
The second board had an altimeter, and a logic analyser and only when they were remomved did it work, and the oscilloscope needs to be set to x10 to work, but both seem to be reliably working with those programs, before me changing them.
"You have not revealed which PIC pins they are connected to, but this program is setting all unused pins low.
Assuming they are all active low, that means they are all asserted at the same time."
Looking through the programs: I can see there's some confusion with the CS-SS somewhere, but it will take me a while to figure it out.
Would you talk me through the programs, so I can safely change them please?
C
post edited by Camerart - 2021/01/28 08:17:34