Greenworld 0 Posted September 14, 2014 Share Posted September 14, 2014 Hi everybody, I have tried to use ADC1 (ADC1_BASE, 2) to read analog signal, but no more affection. I change it to ADC0 (ADC0_BASE, 2), it have done perfectly. My programe only have ADC reading. I have test many time. What I can do to use ADC1 ? Please help me to solve it. Thanks ! Quote Link to post Share on other sites
abecedarian 330 Posted September 14, 2014 Share Posted September 14, 2014 Which processor? Quote Link to post Share on other sites
Greenworld 0 Posted September 14, 2014 Author Share Posted September 14, 2014 @abecedarian TM4C123GH6PMI Quote Link to post Share on other sites
Greenworld 0 Posted September 14, 2014 Author Share Posted September 14, 2014 dear abecedarian, TM4C123GH6PMI. Quote Link to post Share on other sites
Greenworld 0 Posted September 14, 2014 Author Share Posted September 14, 2014 Anyone please help me .. Quote Link to post Share on other sites
L.R.A 78 Posted September 14, 2014 Share Posted September 14, 2014 please show the entire code. A file would be better than copy pasting it Quote Link to post Share on other sites
veimmone 0 Posted October 5, 2014 Share Posted October 5, 2014 If indeed the only change in code is that you switch from ADC0 to ADC1, then be aware that there is a resident bug in TivaWare that results in the ADC interrupt setup going bad for ADC1. A fix is incoming, but for the moment you need to bypass the TivaWare functions dealing with ADC interrupts. More here: http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/294691.aspx Quote Link to post Share on other sites
L.R.A 78 Posted October 6, 2014 Share Posted October 6, 2014 I actualy only knew about that bug later (or i forgot), then i see this in the recent posts and i'm like "wasn't there a bug with ADC1 in which the TivaWare used ADC0 configs?" but too late Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.