AT91FR40162 I2C SPI ADC

Hello,

What are some of the ways to implement I2C, SPI, and ADC on the Atml ARM7 microcontroller: AT91FR40162 ?

There are no on-chip peripherals for these.

I would imagine I will need software bit-bang for I2C and SPI, and an external ADC device.

thanks,

Eugene

Hello,

We had the same issue. The 40162 is a very old CPU, but the only one with so much SRAM.

This CPU is painful, the internal Flash is so slow that you don’t increase performances when you increase the speed above 30MHz.

For all peripherals, you have to emulate them on GPIO. The SPI will reach maximum 2Mbits/s for input. The I2C need external transistors, etc.

I would recommend a new ST or LPC CPU. Add an external SRAM and you will save time on your software developpement. ( if you are slave with the 40162 on a few peripherals, the lack of interrupt contollers on thos peripherals will be a nightmare to synchronize). We need an RTOS to be able to reach our goal.

We wouldn’t do it again !!

Sorry for my sad reply :?