MX35 IPU ADC autorefresh

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MX35 IPU ADC autorefresh

708 次查看
Matt_
Contributor II

Hello,

I have a simple mono graphic display on ADC display 0 using SYS2_MODE = 7, i.e. write in command buffer mode.

I have loaded the DMA channel parameter RAM for ADC DMA channels 3 and 5 with appropriate values and all works fine for core triggered DMA, i.e. ADC3_SRC_SEL = 0.  The core triggers the DMA by writing the buffer 0 ready bits for channels DMAADC_3_BUF0_RDY & DMAADC_5_BUF0_RDY.

If I now decide to switch to autorefresh using ADC3_SRC_SEL = 6 then the refresh does not work unless the core keeps setting DMAADC_5_BUF0_RDY which rather defeats the point.

It appears that autorefresh mode correctly sets DMAADC_3_BUF0_RDY at each refresh interval but forgets about DMAADC_5_BUF0_RDY, i.e. autorefresh will work in any of the template modes that only use DMAADC_3 but won't work in command buffer mode.

The reference manual clearly states that SYS2_MODE = 7 is valid for autorefresh.  My set-up doesn't agree.

 

Has anyone else seen this?

Is it working for you and it's just me?

 

Matt.

标记 (1)
0 项奖励
回复
1 回复

658 次查看
Matt_
Contributor II

Update:

 I now have auto refresh working in template mode and so have abandoned command mode.

 

 Matt.

0 项奖励
回复