Other Parts Discussed in Thread: HALCOGEN
SPI1 Enable function.
I have a weird problem where the SPI port1 has been set up as a Master, with chip enable and MOSI/MISO. The ENA_n function is totally disabled, with pin left open-circuit. The four SPI pins are connected to an IGLOO FPGA, and have been shown to work on a prototype. However, the next model adds 3 MiBSPI5 lines, DMM_EN_n and 2 NHET lines as general purpose IO to the IGLOO, one of the latter being a "data available_n" handshake in to the TMS.
With the IGLOO unprogrammed, I can see that the SPI Clock and CE_n lines behave as expected. However, when programmed, the first low-going edge of CE_n is the only activity I see, with no clock, and CE_n never returns high until a processor Reset is applied. The PSU current does not rise between the good and locked states so I don't believe these lines are being forced/shorted. The processor is running, visible by CCS6.
Both TMS and IGLOO are powered from the same 3V3 supply. I cannot see the states of the IO lines, but may be able to get the IGLOO code modified to set these lines to that of an erased state. The designer says he is only using the "data available_n" line, but I've tried with this line high or low with no difference. I have used the pinmux function of HaLCoGen to "not-connect" all lines except the DMM_EN_n which is a committed pin.
I have changed the SPI port in my code to 3, which also has 'scope monitoring of the Clock and CE_n, and this works OK.
This problem has been seen on two product boards tried so far. One is part marked TMS570LS3137CCWTMEP YFC-49C73VW and the other TMS570LS3137CGWTMEP YFC-49C73VW.
Thanks
Nick