Hello, im working with Codeless i the DA14531MOD device, and , i cant use the pin 6 for the ADC, only pin 7, and need to measure two sensors.
I have some feedback regarding this ticket. Only the P0_7 can be used as an ADC pin because :
P0_1 is used for the SPI CS
P0_2 is used for the SWD CLK
P0_6 is used for the UART TX
Thanks for your question - I can confirm that I can use only the P0_7 as an ADC pin.
CodeLess version : 6.380.14.22
Let me check this with the Apps Team internally and will get back to you with more feedback.
Thanks also for highlighting this one!
Please note that according to the DA14531 datasheet the ADC pins are : P0_1, P0_2, P0_6 & P0_7
However, in the AT CodeLess only the P0_7 can be used.
PS : Please note that I will raise an internal ticket to correct the AT CodeLess user manual.
Ok, thank you for the info. By the way, can i change P0_6 functionality in the Keil project, or it is fixed?
Yes, this can be chabged from the user_periph_setup.h / .c files.
However, I would recommend not modifying the AT COdeLess source code.