Changes between Version 2 and Version 3 of Radio Board Control
- Timestamp:
- Nov 12, 2005, 10:27:20 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Radio Board Control
v2 v3 2 2 The latest version of our C code for controlling the WARP radio board is available from the [source:"trunk/EDK/TAP_Libraries/@latest" repository]. The documentation for the library is included below. 3 3 4 == taplib.c [source:/trunk/EDK/TAP_Libraries/taplib.c source] ==5 This file provides functions for controlling peripherals included on the WARP FPGA board.4 == [source:/trunk/EDK/TAP_Libraries/tapradio_max2829.c tapradio_max2829.c] == 5 This file provides functions for controlling the WARP radio board's ADC and RF transceiver chips. 6 6 7 '''{{{ int Taplib_appendLog(char *buffer)}}}'''8 [[BR]] Appends a string to the running log file stored on the !CompactFlash card. Because of limitations in writing files to flash, individual log files are limited to 512KB in size. This function automatically creates new files as needed, incrementing their names. The input string should be no longer than 512 charaters.7 '''{{{void TapRadio_InitializeSPI(unsigned int* baseaddr)}}}''' 8 [[BR]]Initializes the SPI controller. This function must be called before any radio setup functions can be used. ''baseaddr'' is the base address of the SPI controller on the SPI bus. 9 9 10 '''{{{int Taplib_appendLog(char *buffer)}}}'''11 [[BR]]Appends a string to the running log file stored on the !CompactFlash card. Because of limitations in writing files to flash, individual log files are limited to 512KB in size. This function automatically creates new files as needed, incrementing their names. The input string should be no longer than 512 charaters.12 13 '''{{{void Taplib_reconfigure(void *baseaddr, int newaddr)}}}'''14 [[BR]]Triggers reconfiguration of the FPGA by the SystemACE CF controller using the bitstream stored at address ''newaddr'', which must be in [0,7].