I have used two arduino uno and also two cc1101 evaluation board to program the uno to make the cc1101 chip and send and receive information, it works quite good, but for some reasons I have to change the sending part from the uno to arduino micro. It is smaller and also have the spi mode, but I have following questions wish you guy have this kind of information can help me. thanks in advanced.
the chip of uno is ATmega328 but the micro is ATmega32u4, are they totally same spi mode?
when I do programming, just make some changes in the libraries is ok? like change pin 10 in uno to ss pin in micro. thanks a lot .
SPI: on the ICSP header. These pins support SPI communication using the SPI library. Note that the SPI pins are not connected to any of the digital I/O pins as they are on the Arduino Uno, they are only available on the ICSP connector and on the nearby pins labelled MISO, MOSI and SCK.
At a minimum, you'll need to wire the camera to the micro differently.
when I do programming, just make some changes in the libraries is ok?
It's OK, but not necessary. The SPI library knows how to make the hardware sing and dance. It knows that the Micro is wired differently, so the affects of SPI are observed at different points on the Micro as compared to the Uno.
mitchellchen:
I have used two arduino uno and also two cc1101 evaluation board to program the uno to make the cc1101 chip and send and receive information, it works quite good, but for some reasons I have to change the sending part from the uno to arduino micro. It is smaller and also have the spi mode, but I have following questions wish you guy have this kind of information can help me. thanks in advanced.
the chip of uno is ATmega328 but the micro is ATmega32u4, are they totally same spi mode?
when I do programming, just make some changes in the libraries is ok? like change pin 10 in uno to ss pin in micro. thanks a lot .
If you wouldn't mind, could you post your ATmega32U4 code to initialize and communicate with a CC1101 transceiver board? I'm about to do the same and it would save some time.