I am testing the SPI slave component on my HIL404 system. I have connected the master SPI to the GPIO connector on pins1-4 as described in the manual (https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/References/spi_protocol.html). In the HIL SCADA, I can visualise the HIL GPIO pins and can see the SCLK, MOSI and CS pin toggling as expected. However the SPI slave is never transmitting a response on the SPI MISO pin.
By toggling the SPI reset pin on the SPI slave component, I can see the MISO pin going to high impedance. So the component does seem to be running. The SPI status pin remains at '0', so there is no error detected by the component.
- Is there somthing additional apart from the message structure and registers that needs to be defined to get a SPI response?
- Is there a way to test the logic in the message structure to see what the component is actually receiving as message?
- Is there something in the Mask editor that needs to be edited?