Nor Velleman nv nor its dealers can be held responsible for any damage (extraordinary, incidental or indirect) – of any nature (financial, physical…) arising from the possession, use or failure of this product.
Page 3
VMA322 Overview VMA322 This module based on Nordic nRF24L01, highly integrated, ultra-low power (ULP) 2 Mbps RF transceiver for the 2.4 GHz ISM (Industrial, Scientific and Medical) band. Nordic nRF24L01+ integrates a complete 2.4 GHz RF transceiver, RF synthesizer, and baseband logic including the Enhanced ShockBurst™ hardware protocol accelerator supporting a high-speed SPI interface for the application controller.
Page 4
VMA322 SPI_DIR = ( CE + SCK + CSN + MOSI); SPI_DIR &=~ ( IRQ + MISO); // attachInterrupt(1, _ISR, LOW);// interrupt enable Serial.begin(9600); init_io(); // Initialize IO port unsigned char status=SPI_Read(STATUS); Serial.print("status = "); Serial.println(status,HEX); // There is read the mode’s status register, the default value should be ‘E’...
Page 5
VMA322 * from nRF24L01 during write, according to SPI protocol **************************************************/ unsigned char SPI_RW(unsigned char Byte) unsigned char i; for(i=0;i<8;i++) // output 8-bit if(Byte&0x80) SPI_PORT |=MOSI; // output 'unsigned char', MSB to MOSI else SPI_PORT &=~MOSI; SPI_PORT|=SCK; // Set SCK high..
Page 13
• Velleman® can decide to replace an article with an equivalent article, or to refund the retail value totally or partially when the complaint is valid and a free repair or replacement of the article is impossible, or if the expenses are out of proportion.
Need help?
Do you have a question about the VMA322 and is the answer not in the manual?
Questions and answers