Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI've mapped the I2C component name from custom_fpga.h to the one used in config.c., with# defines in nios.h.
My custom_fpga.h does not have a frequency for the I2C. I tried a few differet vaues. When I use the CPU clock speed (85 MHz), it doesn't hang. When I start up, the I2C seems to be initializing correctly. It does not, however, recognize the RTC chip. I have selected the ds1307 driver. It does probe for the RTC. The RTC is an M41T0, not an M41T00. This makes it quite difficult to google anything on the chip.