问答

汇集网友智慧,解决技术难题

tonychen0420

TA的家园币:12  

  • 请教AT32F437用XMC--SRAM方式访问AD7606并行总线的时序参数配置

    项目中需要AD7606进行快速同步采样,MCU是AT32F437。请教一下,有没有AT32F437用XMC--SRAM方式访问AD7606并行总线的时序参数配置供参考一下?谢谢!以下是我的配置:翻译搜索复制voidAD7606_XMC_SRAM_Configuration(void){gpio_init_typegpio_init_struct={0};xmc_norsram_init_typexmc_norsram_init_struct;xmc_norsram_timing_init_typerw_timing_struct,w_timing_struct;/*enablethegpioclock*/crm_periph_clock_enable(CRM_GPIOF_PERIPH_CLOCK,TRUE);crm_periph_clock_enable(CRM_GPIOD_PERIPH_CLOCK,TRUE);crm_periph_clock_enable(CRM_GPIOE_PERIPH_CLOCK,TRUE);crm_periph_clock_enable(CRM_GPIOG_PERIPH_CLOCK,TRUE);/*enablethexmcclock*/crm_periph_clock_enable(CRM_XMC_PERIPH_CLOCK,TRUE);/*--gpioconfiguration------------------------------------------------------*///addresslinesgpio_pin_mux_config(GPIOF,GPIO_PINS_SOURCE0,GPIO_MUX_12);//AA0gpio_pin_mux_config(GPIOF,GPIO_PINS_SOURCE1,GPIO_MUX_12);//AA1gpio_pin_mux_config(GPIOF,GPIO_PINS_SOURCE2,GPIO_MUX_12);//AA2//gpio_pin_mux_config(GPIOD,GPIO_PINS_SOURCE11,GPIO_MUX_12);//gpio_pin_mux_config(GPIOD,GPIO_PINS_SOURCE12,GPIO_MUX_12);//gpio_pin_mux_config(GPIOD,GPIO_PINS_SOURCE13,GPIO_MUX_12);//gpio_pin_mux_config(GPIOE,GPIO_PINS_SOURCE0,GPIO_MUX_12);//gpio_pin_mux_config(GPIOE,GPIO_PINS_SOURCE1,GPIO_MUX_12);//gpio_pin_mux_config(GPIOE,GPIO_PINS_SOURCE2,GPIO_MUX_12);//gpio_pin_mux_config(GPIOE,GPIO_PINS_SOURCE3,GPIO_MUX_12);//gpio_pin_mux_config(GPIOE,GPIO_PINS_SOURCE4,GPIO_MUX_12);//gpio_pin_mux_config(GPIOE,GPIO_PINS_SOURCE5,GPIO_MUX_12);//gpio_pin_mux_config(GPIOE,GPIO_PINS_SOURCE6,GPIO_MUX_12);//gpio_pin_mux_config(GPIOF,GPIO_PINS_SOURCE3,GPIO_MUX_12);//gpio_pin_mux_con