Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GuNo_288966
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi,

   

I have a serious problem with a CY8C5868AXI-LP032 and SPI.

   

When I send data over SPI, after a few seconds this toasts the controller. The resistance between VCC and VSS goes down to 1.1 Ohms, the controller is no longer found with the miniprog.

   

Details:

   

I use the SPI Master V2.4, bidirectional, 1000kbps, internal clock, no interrupts. SDAT is connected to a bidirectional pin, strong drive. SCLK and SS are connected to a digital output pin, strong drive. There is nothing externally connected to these pins yet.

   

First I sent some bytes by SPIM_PutArray(). On the scope I saw the SCLK switching, but SDAT and SS were permanently low. After a few seconds the system broke down, 1.1 Ohms between VSS and VCC, controller became hot. Controller was no longer accessible by the miniprog.

   

Exchanged the CY8C5868AXI. Resistance was then in the MOhms range. Removed the SPI master user module, connected the pins to a control register and switched them manually. Then the output pins behaved as expected..

   

Added the SPI master again, connected the pins as described above. started the program. After a few seconds breakdown, again 1.1 Ohms between VCC and VSS.

   

Any ideas what I am doing wrong?

   

Best regards,

   

Guenter

0 Likes
9 Replies