完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
伟大社区!我面对了似是而非的事实。我试着创建10个香奈儿逻辑生成器,基于每个Chhanel2的DMA通道。第一DMA刷新计数器周期(调整Pion LimHT),第二更新逻辑电平(0/1)。问题是:一些通道被反射,一些时间在另一条线上反射和镜像。(见下面的图片)
Is/H/G/13/NeXFLIE.0.PNG/ 每个PIC只用一个有源计数器。 你能告诉我我哪里错了,或者怎么解决这个问题? 我使用的是CY8C446AXI-099。 设计附上。 最好的问候, 亚历克斯C 设计12LG邮编 3.6兆字节 以上来自于百度翻译 以下为原文 Greatings Community! I have faced with preaty strange fact. I'm try`ing to create 10-chanel logic generator, based on counters whith two DMA chanels per each chanell. first DMA refreshes Counter period (regulates perion lenght), second updates logic level (0/1). the problem is : some channels are reflected, some times are reflected and mirrored on another line. (see pics below) imageshack.us/g/13/newfile0.png/ each pic made with only one active Counter. Can you tell me where am i wrong, or how to fix this problem? I'm using CY8C3446AXI-099. Design is attached. Best Regards, Alex C.
|
|
相关推荐
1个回答
|
|
伟大社区!我花了几天时间测试DMA频道。我发现问题是什么。当我使用2个DMA信道时,用1个源eNeBLE寻址UDB blolcks(计数器X8),得到两个信号DMAY77Chans= DMAY77D-主化(DMAY1BYTESH PiRyBurd,DMAY1A RealestyPuryBurd,Hi16(DMAE11SRCXBASE),Hi16(DMAE11DSSTBASE));DMAY7YTD〔0〕=CydMatalLoad();CyDmaTdSetConfig7YTD〔0〕,4,DMAYEnguldIdTd,TdyIn SurcSr.Adr);CydMatdStVald(DMA77YTD〔0〕,Lo16((UTIT32)SrcCH CH7),Lo16((UTIT32)控制Req88cTrLl Rigux控制CyDmaChSetInitialTd));CyDmaChEnable(DMAY77Chank,DMAY7TYTD〔0〕);CyDmaChEnable(DMAY77JAN,1);DMAY88Chans= DMAY88D-主化(DMAY1YBYTESH PARYBY Burd,熟化(DMAX)突发,Hi16(DMAE11SRCKBASE),Hi16(DMAY11DSTBASBASE);DMAY8YTD=CydMatDLaLATE();CydMatdStCad配置(DMAY8YTD〔0〕,4,DMAIN SimuldId TD,TDY-IXA SRCYADR);CydMatdStVald(DMA88YTD〔0〕,Lo16((UTIT32)SRCH CH8),Lo16((UTIT32)控制ReGiff99CtRLL ReGixPixFieldReg));CyDmaChSetIniti DMA1I请求器Chank,DMAY8YTD〔0〕;CyDmaChEnable(DMAY88JAN,1);DMA1616JAN=DMAY1616DMIN化(DMAY1BYTESH PARYBY Burd,DMAY1I RealestyPuryBurd,Hi16(DMAE11SRCXBASE),HI16(DMAY11DSSTBASE));CydMatdListAuter();DMA1616TD〔0〕,4,DMAY-VALIDIDYTD,TDY-IN SRCYAD阿尔玛(DMA88)CydMatdStAdvt(DMA1616TD〔0〕,Lo16((UTIT32)SRC16),Lo16((UTIT32),反OdUdBbSc8AddpUu0xD01D1Reg));CyDmaChEnable(DMAY1616ON,DMA1616TD〔0〕);CyDmaChEnable(DMAY1616ON,1);DMAY1515Chan= DMAY1515D-主化(DMAY1YBYTESH PARYBY Burd,DMAY1I RealestyPyrBurd,Hi16(DMAE1I)R);DMA1515YTD〔0〕=CydMatDLaCudie();CydMatdSt1配置(DMA1515TD〔0〕,4,DMAIN SimuldId TD,TDY-IXA SRCYADR);CydMatdSt-地址(DMA1515TD〔0〕,Lo16((UTIT32)SRC15),Lo16((UTIT32)反O2UDUBBSSC8A反DP0U0A D01D1Reg));CyDmaChSetInitialTd(DMA1515YAN,DMAY1)SRC碱基)5YTD〔0〕;CyDmaChEnable(DMAY1515Chann,1);反α1START();DMA16反源1。但示波器显示2个信号。这只发生在UDB块中。设备:CY8C34 46AXI-099 PROD。波形和设计附上。
设计36Zip 2.3兆字节 以上来自于百度翻译 以下为原文 Greatings Community! I've spend a couple of days testing DMA channels. And I found what is the problem. when I use 2 DMA channels, which are addressed to UDB blolcks(Counter x8) with 1 source eneble i'm getting two signals DMA_7_Chan = DMA_7_DmaInitialize(DMA_1_BYTES_PER_BURST, DMA_1_REQUEST_PER_BURST, HI16(DMA_1_SRC_BASE), HI16(DMA_1_DST_BASE)); DMA_7_TD[0] = CyDmaTdAllocate(); CyDmaTdSetConfiguration(DMA_7_TD[0], 4, DMA_INVALID_TD, TD_INC_SRC_ADR); CyDmaTdSetAddress(DMA_7_TD[0], LO16((uint32)src_ch7), LO16((uint32) Control_Reg_8_ctrl_reg__CONTROL_REG)); CyDmaChSetInitialTd(DMA_7_Chan, DMA_7_TD[0]); CyDmaChEnable(DMA_7_Chan, 1); DMA_8_Chan = DMA_8_DmaInitialize(DMA_1_BYTES_PER_BURST, DMA_1_REQUEST_PER_BURST, HI16(DMA_1_SRC_BASE), HI16(DMA_1_DST_BASE)); DMA_8_TD[0] = CyDmaTdAllocate(); CyDmaTdSetConfiguration(DMA_8_TD[0], 4, DMA_INVALID_TD, TD_INC_SRC_ADR); CyDmaTdSetAddress(DMA_8_TD[0], LO16((uint32)src_ch8), LO16((uint32) Control_Reg_9_ctrl_reg__CONTROL_REG)); CyDmaChSetInitialTd(DMA_8_Chan, DMA_8_TD[0]); CyDmaChEnable(DMA_8_Chan, 1); DMA_16_Chan = DMA_16_DmaInitialize(DMA_1_BYTES_PER_BURST, DMA_1_REQUEST_PER_BURST, HI16(DMA_1_SRC_BASE), HI16(DMA_1_DST_BASE)); DMA_16_TD[0] = CyDmaTdAllocate(); CyDmaTdSetConfiguration(DMA_16_TD[0], 4, DMA_INVALID_TD, TD_INC_SRC_ADR); CyDmaTdSetAddress(DMA_16_TD[0], LO16((uint32)src16), LO16((uint32) Counter_1_CounterUDB_sC8_counterdp_u0__D0_D1_REG)); CyDmaChSetInitialTd(DMA_16_Chan, DMA_16_TD[0]); CyDmaChEnable(DMA_16_Chan, 1); DMA_15_Chan = DMA_15_DmaInitialize(DMA_1_BYTES_PER_BURST, DMA_1_REQUEST_PER_BURST, HI16(DMA_1_SRC_BASE), HI16(DMA_1_DST_BASE)); DMA_15_TD[0] = CyDmaTdAllocate(); CyDmaTdSetConfiguration(DMA_15_TD[0], 4, DMA_INVALID_TD, TD_INC_SRC_ADR); CyDmaTdSetAddress(DMA_15_TD[0], LO16((uint32)src15), LO16((uint32) Counter_2_CounterUDB_sC8_counterdp_u0__D0_D1_REG)); CyDmaChSetInitialTd(DMA_15_Chan, DMA_15_TD[0]); CyDmaChEnable(DMA_15_Chan, 1); Counter_1_Start(); Counter_1 - source of DMA16. But Oscilloscope shows 2 signals. This happens only with UDB blocks. Device: CY8C3446-AXI-099 prod. Waveform and design are attached.
|
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2106 浏览 1 评论
1853 浏览 1 评论
3671 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1786 浏览 6 评论
1536 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
571浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
424浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
438浏览 2评论
384浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
916浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-24 11:46 , Processed in 0.997408 second(s), Total 75, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号