I added a quick test to tell if the 5043 SPI interface is working. This is in version 0.1n and has been pushed upstream.
Pacsat>test ax AX5043 #0: Revision=7, scratch=7 AX5043 #1: Revision=7, scratch=7 AX5043 #2: Revision=119, scratch=119 AX5043 #3: Revision=7, scratch=7 AX5043 #4: Revision=119, scratch=119 AX5043 #5: Revision=7, scratch=7
This is what it looks like. However the numbers are all wrong. I'm not sure how they can be other than right or 0xff, but something is screwed up. The Revision should be 0x51, which would be printed in decimal as 81. The scratch register, I wrote the AX5043 number into, so each one should read the same as the first number in the line, i.e. 0, 1, 2, 3, 4, 5.
You might as well try it on yours Bob. In the meantime, I'll try to see if I can tell anything on mine.
73,
Burns Fisher, WB1FJ *AMSAT(R) Engineering -- Flight Software*
I'm reasonably sure that I have the chip select lines screwed up in s/w. I have band rehearsal tonight, so I won't be able to do anything till tomorrow.
73,
Burns Fisher, WB1FJ *AMSAT(R) Engineering -- Flight Software*
On Tue, Feb 6, 2024 at 4:43 PM Burns Fisher (AMSAT) wb1fj@fisher.cc wrote:
I added a quick test to tell if the 5043 SPI interface is working. This is in version 0.1n and has been pushed upstream.
Pacsat>test ax AX5043 #0: Revision=7, scratch=7 AX5043 #1: Revision=7, scratch=7 AX5043 #2: Revision=119, scratch=119 AX5043 #3: Revision=7, scratch=7 AX5043 #4: Revision=119, scratch=119 AX5043 #5: Revision=7, scratch=7
This is what it looks like. However the numbers are all wrong. I'm not sure how they can be other than right or 0xff, but something is screwed up. The Revision should be 0x51, which would be printed in decimal as 81. The scratch register, I wrote the AX5043 number into, so each one should read the same as the first number in the line, i.e. 0, 1, 2, 3, 4, 5.
You might as well try it on yours Bob. In the meantime, I'll try to see if I can tell anything on mine.
73,
Burns Fisher, WB1FJ *AMSAT(R) Engineering -- Flight Software*
participants (1)
-
Burns Fisher (AMSAT)