Go Down

Topic: arduino2560  crashes after running 2-10 hours(SD) (Read 2 times) previous topic - next topic

robtillaart

Could you tell more about the RFM module ? datasheets? There may be a pin conflict?
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

jm_wsb

Hello Rob,

it is just a hope RFM12 module, which uses the SPI bus, but I've changed the CS (instead of pin 53, I know use 49, bacause the sd/ethernet shield also uses pin 53 as CS for the ethernet device on the SPI bus)

And I did not had the problem, so I can be reasonably sure that disable the RFM IRQ before write to SD solved the problem.

Thanks,
Jeroen.

mrmeval

If it was designed by man it can be repaired by man.

jm_wsb

Yes, this is the module.

And I can tell you for sure the problem is solved by disabling the RFM IRQ (setting the pin from arduino mega as output) before using (writing to) the SD card.

Best regards,
Jeroen.

Go Up