问答

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

21ic问答首页 - TAG
  • SST25VF032B-80-4I-S2AF cod? sos

    [font=微软雅黑]Hello.[/font][font=微软雅黑]The part SST25VF032B-80-4I-S2AF was purchased by me on the icsource platform. He is from a distributor in another country. They have no way to help me provide the source of COD. [/font] [font=微软雅黑]Now, the Hong Kong Customs requires us to provide COD, that is, the proof of origin of the wafers, for this batch of goods. We have no way to obtain this information. [/font] [font=微软雅黑]So the customs asked us to contact the original factory. Ask for your help. Could you please help me provide the COD wafer origin certificate for this part? [/font] [font=微软雅黑]We were informed that a 125% tariff would be imposed on parts of unknown wafer origin.[/font] [font=微软雅黑] [size=3][size=14px] Hello. 同系列的老版本型号 SST25VF016B-50-4I-S2AF COD 显示是中国 SST25VF080B-50-4C-S2AF-T COD 显示是中国, 新版本型号 SST26VF032B-104I/SM COD显示是中国, 那么SST25VF032B-80-4I-S2AF 因为停产多年查不到记录,很大可能性COD也是中国,我们可以这样认定吗? [/size] [/size] [/font]

    ST 5V AF 2A he OD

    3490浏览量 0回复量 关注量
  • gd32a490能否单独使用enet外设中SMI(MDC/MDIO)访问外接PHY芯片

    [i=s] 本帖最后由 hudou97 于 2025-7-6 21:35 编辑 [/i] 我在使用gd32a490过程中没有使用enet外设的MAC功能,只想使用enet外设中的SMI(MDC/MDIO)去访问PHY芯片。1.根据用户手册及官方提供的例程实现该功能,用logic分析仪测量MDC/MDIO pin状态发现无任何波形产生,且MDIO初始状态不对 2.我怀疑不能单独使用SMI

    国产芯片 嵌入式 技术交流 2A 使用 芯片

    6637浏览量 10回复量 关注量
  • 【求助】GD32A503的bootloader程序

    首先我在boot程序里进行跳转APP程序,0xE000ED08进行中断向量重定位,然后跳转到APP程序地址0x8020000处,程序能正常跳转过去运行打印日志,点灯,但是好像中断不起作用了,SysTick_Handler不执行,请问这是什么原因呢

    国产芯片GD32 Bootloader GD32 2A ap App

    3687浏览量 5回复量 关注量
  • dsPIC30F6012A烧录出现Format specifier '%x'错误 sos

    [i=s] 本帖最后由 lzh000514 于 2025-6-11 17:12 编辑 [/i] dsPIC30F6012A烧录出现Format specifier '%x'错误 连接到MPLAB PICkit 3... Currently loaded firmware on PICkit 3 固件套件版本.....01.56.09 固件类型..............dsPIC30F Programmer to target power is enabled - VDD = 3.250000 volts. Format specifier '%x'

    dsPIC30F format 烧录 错误 2A pic

    2821浏览量 0回复量 关注量
  • lin驱动开发 sos

    问一下gd32a503的lin驱动怎么开发。我发现函数库里没有发送间隔帧的函数

    lin驱动 驱动开发 函数 GD32 2A 发送

    1380浏览量 0回复量 关注量
  • N32A455CEL7-STB 开发板LIN通信问题 sos

    求教吧友,N32A455CEL7-STB 开发板LIN通信问题,芯片是48引脚的,采用PA9,PA10做LIN通信,外界NXP的TJA1021收发器,主机到收发器都正常收发,连上开发板后,就收不到主机发来的数据帧,示波器也抓不到

    LIN通信 N32A455X芯片 455 ce 2A

    1143浏览量 0回复量 关注量
  • PY32F002A内部时钟校正问题 sos

    PY32F002A15 TSSOP20的 使用HAL_RCC_OscConfig(),HAL_RCC_ClockConfig()配置时钟为内部24Mhz时钟,后通过TIM1发出1khz波,其频率大约为998Hz, 内部时钟源校准寄存器(RCC_ICSCR)显示: 时钟频率校准值。 软件通过读出存放在 information 区相应地址的数据,写入该寄存器,实现 HSI 特定输出频率下的校准。保存在 Flash 的如下地址内:24MHz 校准值存放地址:0x1FFF 0F108MHz 校准值存放地址:0x1FFF 0F04 我试过在时钟配置完成后,直接读取该值写入校正寄存器内,反而偏差变大了(不知道读取的值对不对) 请问校正内部24Mhz时钟是在配置后自动进行的? 还是只能手动进行? 如果是手动进行校正,flash需要解锁后读吗?

    单片机 国产芯片 技术交流 嵌入式 内部时钟 2A

    2141浏览量 0回复量 关注量
  • LKS08系列 纹波电流过大应该调哪些参数 sos

    使用LKS32AT089芯片调试电机,发现电机在6千多转纹波电流很大,通过调电机的相电阻,相电感以及PLL的PI参数这5个参数效果不佳,请问一下调哪些参数还能改善纹波电流过大的情况?本人使用的是无位置传感器

    2A 使用 电机 纹波电流 LKS 08

    1245浏览量 0回复量 关注量
  • 误将选选项字节DRP开启了,该如何关闭? sos

    使用GD32 All In One Programmer, 检查保护状态时,误将DRP开启了,现在通过GD32 All In One Programmer工具无法关闭DRP,芯片也下载不了程序了,该怎么办?

    选项 GD32 No 2A MM GD3

    1121浏览量 0回复量 关注量
  • HC16P122A1/B1 I/O 驱动控制寄存器如何设置

    我在看HC16P122A1/B1的手册的时候看到这两个寄存器,感觉描述得不是很清晰,[img]https://files.oaiusercontent.com/file-ICXi6kDAb2oDoZwv6NZABozs?se=2024-09-06T09%3A28%3A57Z&sp=r&sv=2024-08-04&sr=b&rscc=max-age%3D299%2C%20immutable%2C%20private&rscd=attachment%3B%20filename%3Dimage.png&sig=4Y6vIYt1bRQdcPHI6g/MHtDjWNG0eVojGbr1sAA5Pfc%3D[/img]寄存器DRENxL和DRENxH怎么使用没太理解,比如说我想让某个IO配置成Level1应该怎么配置呢,如果没配置的情况下默认是什么模式呢,还有我在代码里输入这两个寄存器名字编译是未找到的。

    MUC HC 2A I/O 寄存器 驱动控制

    1723浏览量 2回复量 关注量
  • GD32A503 TIMER 上溢UP中断与CAP中断优先级有一定几率反转问题

    测试硬件:GD32A503CC测试外设:TIMER0_CH1 测试准备:PE5输入高频PWM 中断优先级配置:UP中断高于CH1中断 void nvic_configuration(void) { nvic_priority_group_set(NVIC_PRIGROUP_PRE1_SUB3); nvic_irq_enable(TIMER0_BRK_UP_TRG_CMT_IRQn, 1, 0); nvic_irq_enable(TIMER0_Channel_IRQn, 1, 1); } 测试定时器配置:配置TIMER0_CH1为双沿输入捕获模式,使能TIMER0 UP上溢与CH1中断。 void timer_configuration(void) { /* TIMER1 configuration: input capture mode ------------------- the external signal is connected to TIMER0 CH1 pin (PE5) the rising edge is used as active edge the TIMER1 CH0CV is used to compute the frequency value ------------------------------------------------------------ */ timer_ic_parameter_struct timer_icinitpara; timer_parameter_struct timer_initpara; rcu_periph_clock_enable(RCU_TIMER0); timer_deinit(TIMER0); /* TIMER0 configuration */ timer_struct_para_init(&timer_initpara); timer_initpara.prescaler = 99; timer_initpara.alignedmode = TIMER_COUNTER_EDGE; timer_initpara.counterdirection = TIMER_COUNTER_UP; timer_initpara.period = 65535; timer_initpara.clockdivision = TIMER_CKDIV_DIV1; timer_initpara.repetitioncounter = 0; timer_init(TIMER0, &timer_initpara); /* TIMER0 configuration */ /* TIMER0 CH1 input capture configuration */ timer_channel_input_struct_para_init(&timer_icinitpara); timer_icinitpara.icpolarity = TIMER_IC_POLARITY_BOTH_EDGE; timer_icinitpara.icselection = TIMER_IC_SELECTION_DIRECTTI; timer_icinitpara.icprescaler = TIMER_IC_PSC_DIV1; timer_icinitpara.icfilter = 0x0; timer_input_capture_config(TIMER0, TIMER_CH_1, &timer_icinitpara); /* auto-reload preload enable */ timer_auto_reload_shadow_enable(TIMER0); /* clear channel 0 interrupt bit */ timer_interrupt_flag_clear(TIMER0, TIMER_INT_FLAG_UP); /* channel 0 interrupt enable */ timer_interrupt_enable(TIMER0, TIMER_INT_UP); /* clear channel 0 interrupt bit */ timer_interrupt_flag_clear(TIMER0, TIMER_INT_FLAG_CH1); /* channel 0 interrupt enable */ timer_interrupt_enable(TIMER0, TIMER_INT_CH1); /* TIMER0 counter enable */ timer_enable(TIMER0); } 中断处理: __IO uint16_t u16_cap_tick = 0; __IO uint32_t u32_cap_tick = 0; __IO uint32_t u32_cap_tick_pre = 0; __IO uint16_t ovf_cont = 0; __IO uint32_t err_cnt = 0; void TIMER0_BRK_UP_TRG_CMT_IRQHandler(void) { if(SET == timer_interrupt_flag_get(TIMER0, TIMER_INT_FLAG_UP)) { /* clear channel1 interrupt bit */ timer_interrupt_flag_clear(TIMER0, TIMER_INT_FLAG_UP); /* count overflow value */ ovf_cont++; } } void TIMER0_Channel_IRQHandler(void) { if(SET == timer_interrupt_flag_get(TIMER0, TIMER_INT_FLAG_CH1)) { /* clear channel1 interrupt bit */ timer_interrupt_flag_clear(TIMER0, TIMER_INT_FLAG_CH1); /* read channel 1 capture value */ u16_cap_tick = timer_channel_capture_value_register_read(TIMER0, TIMER_CH_1); u32_cap_tick_pre = u32_cap_tick; u32_cap_tick = u16_cap_tick + (ovf_cont << 16); if(u32_cap_tick_pre > u32_cap_tick) { err_cnt++; } } } 出现问题:TIMER0 CNT接近上溢时发生CH1捕获中断, 捕获中断有一定几率先于UP中断处理,导致err_cnt计数错误。 示例中,err_cnt会有计数。

    2A 中断优先级 timer ap GD32 MCU

    10734浏览量 11回复量 关注量
  • GD32A503RDT3 ADC+DMA顺序转换问题,没有数据

    void rcu_config(void) { /* enable GPIO clock */ rcu_periph_clock_enable(RCU_GPIOB); rcu_periph_clock_enable(RCU_GPIOE); /* enable ADC0 clock */ rcu_periph_clock_enable(RCU_ADC0); /* enable DMA0 clock */ rcu_periph_clock_enable(RCU_DMA0); } /*! \brief configure the GPIO peripheral \param[in] none \param[out] none \retval none */ void gpio_config(void) { /* config the GPIO as analog mode */ gpio_mode_set(GPIOB, GPIO_MODE_ANALOG, GPIO_PUPD_NONE, GPIO_PIN_1);//GPIOB1, gpio_mode_set(GPIOE, GPIO_MODE_ANALOG, GPIO_PUPD_NONE, GPIO_PIN_13); } /*! \brief configure the DMA peripheral \param[in] none \param[out] none \retval none */ void dma_config(void) { /* ADC_DMA_channel configuration */ dma_parameter_struct dma_data_parameter; /* ADC DMA_channel configuration */ dma_deinit(DMA0, DMA_CH0); /* initialize DMA single data mode */ dma_data_parameter.periph_addr = (uint32_t)(&ADC_RDATA(ADC0));//外设基地址 dma_data_parameter.periph_inc = DMA_PERIPH_INCREASE_DISABLE;//内存地址增量模式 dma_data_parameter.memory_addr = (uint32_t)adc_value;//数据存放地址 dma_data_parameter.memory_inc = DMA_MEMORY_INCREASE_ENABLE;//内存地址增量模式 dma_data_parameter.periph_width = DMA_PERIPHERAL_WIDTH_16BIT;//dma外设宽度16位,半字 dma_data_parameter.memory_width = DMA_MEMORY_WIDTH_16BIT; dma_data_parameter.direction = DMA_PERIPHERAL_TO_MEMORY;//传输模式,外设到存储(接收) dma_data_parameter.number = 2;//长度 dma_data_parameter.priority = DMA_PRIORITY_HIGH;//优先级高 dma_init(DMA0, DMA_CH0, &dma_data_parameter); dma_circulation_enable(DMA0, DMA_CH0); /* enable DMA channel */ dma_channel_enable(DMA0, DMA_CH0); } /*! \brief configure the ADC peripheral \param[in] none \param[out] none \retval none */ void adc_config(void) { /* config ADC clock */ rcu_adc_clock_config(RCU_CKADC_CKAHB_DIV10); adc_deinit(ADC0); adc_mode_config(ADC_MODE_FREE);//ADC工作在独立模式 /* ADC continous function enable */ adc_special_function_config(ADC0, ADC_SCAN_MODE, ENABLE); adc_special_function_config(ADC0, ADC_CONTINUOUS_MODE, ENABLE); /* ADC trigger config */ adc_external_trigger_source_config(ADC0, ADC_REGULAR_CHANNEL, ADC0_1_EXTTRIG_REGULAR_NONE);//外部触发源设置 /* ADC data alignment config */ adc_data_alignment_config(ADC0, ADC_DATAALIGN_RIGHT);//数据对齐配置 /* ADC channel length config */ adc_channel_length_config(ADC0, ADC_REGULAR_CHANNEL, 2);//用到几个转换通道 /* ADC regular channel config */ adc_regular_channel_config(ADC0, 1, ADC_CHANNEL_7, ADC_SAMPLETIME_55POINT5); adc_regular_channel_config(ADC0, 2, ADC_CHANNEL_9, ADC_SAMPLETIME_55POINT5); adc_external_trigger_config(ADC0, ADC_REGULAR_CHANNEL, ENABLE); /* enable ADC interface */ adc_enable(ADC0); /* ADC DMA function enable */ adc_dma_mode_enable(ADC0); /* ADC calibration and reset calibration */ adc_calibration_enable(ADC0); } main.c /* system clocks configuration */ rcu_config(); /* GPIO configuration */ gpio_config(); /* DMA configuration */ dma_config(); /* ADC configuration */ adc_config(); adc_software_trigger_enable(ADC0, ADC_REGULAR_CHANNEL);

    顺序 2A DMA ADC GD32

    5098浏览量 25回复量 关注量