Skip to content

LPSPI Shift Register Not Updating From TX Fifo #160

Closed Answered by mciantyre
SimonLyke asked this question in Q&A
Discussion options

You must be logged in to vote

imxrt-rs/imxrt-hal#159 demonstrates a similar example to

My slave device will receive 2 bytes from the master device. once those 2 bytes have been clocked in, i enqueue a byte into the slaves TX FIFO hoping it will be moved to the shift register and then clocked out.

In my example, the device receives two bytes from the controller. It adds them, then sends the sum back to the controller. The controller asserts that the received byte is correct. When I tested last week, that example was working as expected.

Without access to your code, I can't really say what's going on. You could try comparing your approach to my example to see if anything stands out.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SimonLyke
Comment options

@mciantyre
Comment options

@SimonLyke
Comment options

Answer selected by mciantyre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants