Hi Yall,
I designed a custom board with SoC nRF52840, and developing software with nRF Connect extension in Visual Studio Code.
I followed the dev academy instructions on how to create a custom board, setup device tree, and flash the Blinky example successfully.
My issue is that the toggle function behavior differs based on the pin assignment. For example, if I revise my led0 assignment to P0.8, P0.11, or P0.24, then I get a different behaviors. To be transparent, all three pins are connected to different load/circuitry:
DT configured led0 at P0.8, the circuit is a 22Ohm series resistor into a CS slave pin. The output is a square waveform, but the two states are 0V and 700mV.
DT configured led0 at P0.11, the circuit is a 22Ohm series resistor into another CS slave pin. The output is a square waveform with the expected two states at 0V and VDD (3.3V).
DT configured led0 at P0.24, the circuit is a 3.3k series resistor into cathode of an LED to VDD. The output waveform is 2VDC.
Thanks,
EEM