cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with ADC in LORA Process

MMoro.5
Associate

Hello,

I have problem with ADC using in LORA Porcess on NUCLEO WL55JC1.

I modified project PING PONG(from LORA) to MASTER and SLAVE, where SLAVE send to MASTER in periodicly time a voltage form ADC, when I use ADC in main, everything its ok, but when I use it in LORA process then function HAL_ADC_PollForConversion return a HAL

_TIMEOUT.

Thank you in advance.

P.S On footage "ADC_Timer" I only read a value from ADC not send to master yet.

EDIT: I debuged this using APP_LOG and I saw that ADC_Enable go to this (image: "ADC_Enable"), and set to ErrorCode HAL_ADC_ERROR_INTERNAL, where in definition of this error code is that is "ADC peripheral internal error (problem of clocking, enable/disable, erroneous state, ...)0693W00000DpvPCQAZ.png0693W00000DplgXQAR.png0693W00000DplgSQAR.png

0 REPLIES 0