4 years, 4 months ago.  This question has been closed. Reason: Duplicate question

Cannot initialize ADC

Hi,

for me the calibration gets stuck in line 61 with the AnalogIn error "Cannot initialize ADC". What could be the reason?

NUCLEO-F334R8 Seeed 2.8" TFT Touch V2 just plugged onto the nucleo

SeeedStudioTFTv2 TFT(PIN_XP, PIN_XM, PIN_YP, PIN_YM, PIN_MOSI, PIN_MISO, PIN_SCLK, PIN_CS_TFT, PIN_DC_TFT, PIN_BL_TFT, PIN_CS_SD);

  1. define PIN_XP A3
  2. define PIN_XM A1
  3. define PIN_YP A2
  4. define PIN_YM A0
  5. define PIN_MOSI D11
  6. define PIN_MISO D12
  7. define PIN_SCLK D13
  8. define PIN_CS_TFT D5
  9. define PIN_DC_TFT D6
  10. define PIN_BL_TFT D7
  11. define PIN_CS_SD D4

Sincerely,

Friedemann

Question relating to:

Example program for TFT 2.8" Shield by SeeedStudio that features an ILI9341 display controller in SPI-mode, a 4-wire resistive touch screen overlay, and a microSD slot. display, shield, TFT, touch