You may write directly to the pin without using a control register. pulling pin low before master action and release it (after some delay) when the transmission is done.
Thank you for getting back to me. I have tried this but when I do I get an error when i try to program the device.
That is, the code will compile just fine, but when i try to use the miniprog to program the device I get: "FAILED! Error in row 54..."
The only difference between the code which i can program just fine and the code which fails to program is the added :
before SPI write transaction and after
Any suggestions as to why I would have this problem with the programming?
All the Best,
What happens when you change exactly this line back and then try to program again? (I cannot imagine why such a code change should affect the programming)
My apologize for not getting back to you sooner.
I created a new project and built the same code again and it worked fine.
The original project keeps working and not working at random. I.e. I could insert the lines which caused the programmer to crash, uncomment the same line as the only change and it would work. So still a mystery why this is, but at least I have a working project.
Can you create a MyCase (on top of this page "Support&Community->Technical Support->Create a MyCase) and submit the projects to Cypress for analyzation? Probably an error within Creator prevents the project from beeing programmed correctly.
Additionally. will you please keep us informed of the progress / results?