Confirmed that X1.0e runs here too.  get temp returns the temperature as expected.

But there is an issue.  There is garbage printed to the console, likely when we send a frame:

image.png

73
Chris

On Sat, Aug 5, 2023 at 10:40 AM Burns Fisher (AMSAT) via pacsat-dev <pacsat-dev@amsat.org> wrote:
I was looking at this with Bill yesterday.  That message should happen only if there is no response from the I2c message to the temp chip.  Since it works just fine on mine, I'm guessing there is a hardware issue on Bill's board.  He checked all the pins, so that implies to me either the chip is bad, or there is some issue with the board or the header connecting it to the LaunchPad.  Or possibly a pullup on one of the I2c lines.  I don't recall if there is a physical pullup or if they are programmed in the TMS570.

73,

Burns Fisher, WB1FJ
AMSAT(R) Engineering -- Flight Software


On Sat, Aug 5, 2023 at 10:00 AM Bill Reed via pacsat-dev <pacsat-dev@amsat.org> wrote:
I upgraded my pacsat test hardware to software version 0.1d.  It didn't
run.  I discovered that the software was hanging up when it tried to
initialize the i2c temp sensor.  That is new in 0.1d.  In
troubleshooting with Chris and Burns we discovered that the calls to the
i2c initialization code were misplaced.  That was fixed and uploaded to
github as version 0.1e.

Version 0.1e runs on my test hardware but gives an i2c error message
every time it attempts to read the temp.  This could be a hardware fault
on my test hardware.  I have checked the temp sensor and all pins seem
to be correctly connected and connectivity of the SDL and SCA lines with
the TMS570 board is OK.  I will be connecting the temp sensor to a
raspberry pi and running tests on that component.

In order to continue to use the test hardware I have commented out
line191 in TelemAndControlTask.c which simply reports an error by
calling debug_print().  Entering 'get temp' on the pacsat console still
shows the error message.

I'm having too much fun!!

Bill


-----------------------------------------------------------

pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org

-----------------------------------------------------------

pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org


--
Chris E. Thompson
chrisethompson@gmail.com
g0kla@arrl.net