280049C ADC sampling question
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi!
I'm debugging the ADC module using TI Piccolo F280049C LaunchPad.After the program is downloaded, the result read by the ADC is always 0.Can you help to config where there is a problem with the configuration?
I use CCS to debug the LaunchPad using the generated code,the ADCResult REG remaids 0 all the time
Or can you provide a model that the ADC is working correctly?
Thanks!
1 comentario
leichao zhu
el 28 de Jul. de 2023
I encountered the same issue, and I noticed that the register address for AdcaResultRegs in the code generated by Simulink is incorrect.
Respuestas (1)
Irene Boben
el 19 de Jun. de 2023
Hi,
The block configuration looks right. What is the analog input voltage that is given to the ADC pin?
There are two ways to test using a simple mode.
- Have just a DAC and ADC in the model. For F280049C launchpad, DAC - A out is internally connected to ADC A0 channel. Run this model in external mode ( "Monitor and Tune") and check whether ADC output is in range with the DAC input
- There is shipping example 'ADC-PWM Synchronization Using ADC Interrupt' for F28004x based board as well. This too can be refered.
Hope this helps.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!