Headset Reference Design v1.0
3.3.1USB Interface
The USB interface is handled by the Sonix SN11220 USB Audio Controller. All the USB communications are handled by the SN11220. The audio samples are 16 bit linear PCM on the I2S port, where the micro controller acts as a bus master (PADFUN mode 4’1100 in the SN11220ACF data sheet). The audio frame signals are derived from the 2.048 MHz clock output from the USB controller. This synchronizes the audio frames with the USB audio frames. The micro controller can also access the USB HID interface through the I2C bus, also with the micro controller as the bus master.
3.3.2Micro controller
The micro controller is an AVR, ATmega88 that runs on a 6.00 MHz crystal. The micro controller’s main tasks are:
•Setting up USB controller and radio circuits.
•Converting 16 bit PCM audio samples from the USB controller to 8 bit
•Converting
•Handling the RF protocol.
•Optional HID interface for communication with PC application.
In addition, an LED output is available. The LED will light up when USB audio activity is present on the USB port.
3.3.3Radio circuit
The radio circuit (nRF24L01) is a complete radio transceiver for use in the unlicensed 2.4 GHz band. A 16 MHz crystal is used as frequency reference for the RF and an antenna is included in the layout.
3.3.4Power supply
The USB dongle is powered from the USB port and needs no extra supply.
3.3.5Programming
A
1.If the unit has never been programmed, set the AVR fuses:
•Preserve EEPROM memory through chip erase cycle; [EESAVE = 0]
•
•Ext.
2.Write the SW hex file into the AVR program memory.
3.Write a
Revision 1.0 | Page 15 of 25 |