I made a sketch for the ATmega328P which works flawlessly but not on an ATmega48V
Interrupts on timer1 nRf24L01+ NF24 library Analog read
I wanted to put that on a board with an ATmega48V which I found on ebay.
The Analog read and interrupts work on the ATmega48V but the nRf24L01+ library is not working
For uploading the software I added the Pololu ATmega48 board info and modified the FCPU to 8000000, verified the fuse settings and measured the interrupt pulse width. The interrupt speed is correct.
This is the board info I use to upload the sketch using an AVRISP programmer
orangutan_48.name=Pololu Baby Orangutan B-48 w/ ATmega48 orangutan_48.upload.tool= orangutan_48.upload.maximum_size=4096 orangutan_48.upload.maximum_data_size=512 orangutan_48.build.mcu=atmega48 orangutan_48.build.f_cpu=8000000L orangutan_48.build.board=AVR_ORANGUTAN orangutan_48.build.core=arduino:arduino orangutan_48.build.variant=arduino:standard
According the datasheet all register names are equal between ATmega328P and ATmega48V
Any ideas in what direction I should look for a solution?