This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I'm interfacing a uC to a slave TM4C device via a SSI port, and I'm trying to implement a firmware upgrade...
Is ROM_UpdateSSI() the best way to accomplish this? If so, is there more detailed information on the packet protocol somewhere? In particular, I need to verify whether the chip select signal can be deasserted between commands and responses. As well as bit and byte ordering...
Thanks in advance,
Brad
A waveform of a command and response packet transmissions would be extremely helpful, seeing as I've written my own SPI master controller to communicate with the Tiva SSI port 0. I can only guess at the chip select setup and hold times, and whether the chip select can be de-asserted between a command and response pairing. This is likely documented with your engineering team.
Acquiring a demo board, setting up your demo program and probing the signals is a bit arduous for me...
I would also like to confirm the CPHA and CPOL settings.
Regards,
Brad
Thanks, Amit.
I can't quite make out the first four bytes sent. Could you please zoom in?
Is chip select de-asserted after every byte sent?
I'm curious as to why the ACK isn't sent until the 11th byte. Is the master supposed to continuously poll until received?
Tx,
Brad
Yes; I actually trigger the call to ROM_UpdateSSI() from a command via the SSI0 port. I can break on ROM_UpdateSSI() before stepping in and losing all intelligible debugging.
Is there a way to link the debugger to the ROM_UpdateSSI() source?
Tx,
B
I have a 2 second timeout.
Can you provide me with the source, so I can continue to debug?
I'm blind, otherwise.
B
Often - when only the (attached) JTAG pod seems to restore operation - it is the absence of proper (non-MCU/internal) pull-up resistors - which causes such issue... Internal resistors are too high in value to (always) succeed - the pod (or properly valued (external Rs) corrects...
Also in the realm is the treatment of MCU Reset - which (again) is impacted by the pod...
Disabling interrupts seems to have solved my problem, Amit. Tx.
Did I miss this nugget of information somewhere?
B