bluesmoke
- 26th November 2009, 19:45
Noob playing with a 16f887 and a umFPU math coprocessor.
After frying a couple of umFPUs I've realized that I need to be setting the TRISx and PORTx settings (see, noob). I think that after a number of power-on resets one of the Pic pins went high and nearly melted the breadboard under the umFPU and cooked the umFPU chip (but Pic was OK).
I've now set the pins to inputs and set them low but am hesitant to potentially blow yet another chip. Is this the proper setting for pins connected to other chips? Is there any other option?
Thanks.
I think it was pin C4 or C5 that went high.
'-------------------- uM-FPU pin definitions ----------------------------------
FpuClk var PORTC.3 ' SPI SCLK (uM-FPU SCLK)
FpuIn var PORTC.4 ' SPI MISO (uM-FPU SOUT)
FpuOut var PORTC.5 ' SPI MOSI (uM-FPU SIN)
After frying a couple of umFPUs I've realized that I need to be setting the TRISx and PORTx settings (see, noob). I think that after a number of power-on resets one of the Pic pins went high and nearly melted the breadboard under the umFPU and cooked the umFPU chip (but Pic was OK).
I've now set the pins to inputs and set them low but am hesitant to potentially blow yet another chip. Is this the proper setting for pins connected to other chips? Is there any other option?
Thanks.
I think it was pin C4 or C5 that went high.
'-------------------- uM-FPU pin definitions ----------------------------------
FpuClk var PORTC.3 ' SPI SCLK (uM-FPU SCLK)
FpuIn var PORTC.4 ' SPI MISO (uM-FPU SOUT)
FpuOut var PORTC.5 ' SPI MOSI (uM-FPU SIN)