MBDT: Can't update SPI message using StateFlow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MBDT: Can't update SPI message using StateFlow

654 Views
DN_at_Rix
Contributor I

I'm working with the MPC5744P and trying out Stateflow in addition to the required #MBDT software. I'm interfacing with an SPI module and trying a sequence of steps to confirm proper communication and that a register write did in fact complete. It looks really nice in stateflow, but I couldn't get the input/output data to take effect on the SPI message. When I built a if statement version it seems to be working. It's not as pretty though, so I really hope I'm just missing something. Attached are screenshots of my working and non-working versions of the same code.

top_level.png

^ Top level

working_SPI.png

^ Working SPI trigger

non_working_SPI.png

^ Non working SPI trigger 

Tags (3)
0 Kudos
Reply
0 Replies