2016-02-24 07:50 AM
Hello!
I have a strange problem with the mass storage usb on stm32407ZGt6. Why is it odd ? That's because the same code works on stm32f407ZEt6 just fine. I thought that these cpu's differ only in the amount of flash memory, but clearly there is something else. I have checked the following things: -CPU clocks ( the registers are the same in both cpu's) -The voltage ( I added extra capacitors)-the crystal - 16 mhz working well -electrical connections -D+ D- are not swapped or anything like this, the 1,5 k resistor on D+ does not make it work.-the code is exactly the sameBut still on the device with 407zGt6 the PC shows a sign ''unknown device'', and on 407zEt6 works as it should. So I decided to sniff the signals with the logic analyser. this is what I've noticed: (3 pics different zoom ( top 2 signals are from the not working one ) :