no-OS
app_config.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef APP_CONFIG_H_
35 #define APP_CONFIG_H_
36 
37 //#define IIO_SUPPORT
38 
39 //#define DMA_EXAMPLE
40 
41 #ifdef PLATFORM_MB
42 #define UART_BAUDRATE 115200
43 #else
44 #define UART_BAUDRATE 921600
45 #endif
46 
47 #define ADRV9025_DEVICE_CLK_KHZ 245760
48 #define ADRV9025_LANE_RATE_KHZ 9830400
49 
50 #define ADRV9025_TX_JESD_OCTETS_PER_FRAME 4
51 #define ADRV9025_TX_JESD_FRAMES_PER_MULTIFRAME 32
52 #define ADRV9025_TX_JESD_CONVS_PER_DEVICE 8
53 #define ADRV9025_TX_JESD_CONV_RESOLUTION 16
54 #define ADRV9025_TX_JESD_BITS_PER_SAMPLE 16
55 #define ADRV9025_TX_JESD_HIGH_DENSITY 1
56 #define ADRV9025_TX_JESD_CTRL_BITS_PER_SAMPLE 0
57 #define ADRV9025_TX_JESD_SUBCLASS 1
58 
59 #define ADRV9025_RX_JESD_OCTETS_PER_FRAME 4
60 #define ADRV9025_RX_JESD_FRAMES_PER_MULTIFRAME 32
61 #define ADRV9025_RX_JESD_SUBCLASS 1
62 
63 #define ADRV9025_STREAM_IMAGE_FILE "ADRV9025_stream_image.bin"
64 
65 #endif /* APP_CONFIG_H_ */