We have proved an application with the micro ST72254G connected to one digital potentiometer MCP41010 by SPI. We have followed applications notes of ST and the datasheet of the micro and doing emulation with indart, but it don’t work. Every time we shoot the application it doesn’t receives any answer from SPIF, we have prove it with the oscilloscope and the micro doesn’t produce any signal on ports: SCK or MISO.
I'm afraid you've answered your own question. On this device the spi pins are also the isp pins and as such cannot be used if you use an indart system. If you need to debug the spi the cheapest solution is a dvp2 or change to a 264 (the isp pins have been moved on this device). Example code for the spi is available on this website. Regards sjo
But I don't know what dvp2 means. Another question, knowing that I've other unused ports on the micro, could I make spi by software without using the ports used by indart?
DVP2 is the lost cost emulator part: ST7MDT1-DVP2.
Yes do a software spi is another possibility - this is not very hard to do. Have a look on the apps note pages for examples. You will be limited by speed though with a software spi. Regards sjo