SPC5744P ADC_CONFIG

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPC5744P ADC_CONFIG

567 Views
haizhouyan
Contributor I

In simulink, we used CTU, ADC_Config (corresponding to 8 external input simulates), ADC_Config1 (corresponding to 8 external input simulates) and DMA_Config to configure the underlying layer. Through experiments, we found that:

Note: 16 analog converted digital quantities are stored in RAM (0x4000E000~0x4000E030), including both channel Numbers and channel conversion values.

1.These data can be read in the adc-conversion data register and RAM when 16 variables are set to pass in DMA_Config and the Destination Start Address is set to 0x4000E000.

2.When passing 2 variables is set in DMA_Config and Destination Start Address is set to 0x4000E000, these 2 data can only be read in adc-conversion data register, but not in RAM

Labels (1)
0 Kudos
1 Reply

451 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you are using a simulink it would be better to place the question to MBDT space

https://community.nxp.com/community/mbdt

Not sure what code is generated, but probably channel request is incorrectly set or DMA channel initialized wrongly.

Check ADC_DMAE, ADC_DMAR0 registers and selected DMA TCD descriptor setting.

BR, Petr 

0 Kudos