Hello,
another nut to crack.
Just did code something rather interesting, but first things first; I am using the MSP430F5529 on a costum PCB with almost all pins connected to some purpose and of course USB.
I started to ocde fomr minimal examples to a rather complex one, keep in mind PCB has no flaws, I got several voltages on my board, GND, +3V3, -3V3, 15V, 24V, the MSP430 runs in full speed mode core level_3 with 24MHz, measured power on the 3V3 line durin normal operation is around 20mW or around 5mA, not measured precisly, but its trustworthy , cause I cannot feel the MSP warming up.
Now the problem began the following way:
MY purpose on the PCB is general speaking a data-logger. So I do use a USB CDC ( COM-Port) and a USB MCS ( mass sorage with SDcard connected via SPI-Bus) .
This whole thing is interrupt driven, now I do have other Interrupts as well, right now only using a TimerB for SDcard detect, it occurs every 100ms, and for testing purposes I do use a TimerA Interrupt, starting from every 1 ms to 10ms ( I did play around with the settings there)
To make things difficult and worse, all by myself, I do have
__delay_cycles(20); -> around 833 ns to "simulate" my normal IRQ code
I know this is not usable for real program, but for my purpsoes it would fit.
What I did want to see, is wheather the USB and MSC device still get recognized with my windows PC, since the Interruprs will interrupt each other most probably :)
Now comes the big problem, when running the code with the 1ms IRQ TimerA and attaching the USB cable, COM port always gets registered correctly, always troubler with the MSC device,( I figure of course because of the TimerA IRQ )
BUT much worse, the MSP430 is really running hot, I would say at least around 500mW if not more, I can touch it like 0,5 seconds with my finger before starting to cry :)
So my questions are:
- Any ideas or expirience with MSP430 running hot, is that a normal condition if it has a huge workload? I figured that rather not, but I might be wrong, I would say there are no shortings, since the MSP430 is running perfectly fine with USB as CDC and MSC without my TimerA 1ms IRQ routine
- Must the MSC USB part be interrupt driven, or could I poll that as well?
- again why is it running hot? silicon error (I know i blame that a lot, but the behaviour is just strange )
As always thanks for reading and helping.
seb