nRF5340DK Devicetree File

Dear, I am new to Nordic. I trying to understand the various Defines for nRF5340DK kit using Devicetree.dts file. In that, I had look on SW0 defines.

1. The gpio0 reg is defined at addres at 0x842500, but what is 0x300 ? 

2. Similarly, where led0 etc and buton0 etc are defined. gpios = < &gpio0 0x1c 0x1 >; is written. What is 0xic and 0x1 in this ?,

    For button0, gpios = < &gpio0 0x17 0x11 >; what is 0x17 and 0x11 ? 

Parents Reply
  • mexco said:
    1. does gpios = < &gpio0 0x1c 0x1 >; force the pin Low after power on ?

    I dont think so, though could you expand a bit on it being used to drive an LED? Is it an output pin for the LED?

    mexco said:
    2. Is the nRF5340 on nRF5340DK run on 5 volt supply or  3 Volt

    The supply voltage range can be found in the product specification. For the nRF5340 that is 1.7 V to 5.5 V. That is however only enough for the nRF SoC itself. If you only want to run the nRF on the DK you can connect that voltage to the VDD line. For the programmer chip as well you need 5V.

    mexco said:
    3. Are the port pins, UART pins, I2C Pins 5 Volt compatible or Level converter is required to connect with 5 volt devices ? 

    The GPIO output voltage should be the same as the VDD voltage, so if you'd want 5V you would need a level converter. 

    Best regards,

    Elfving

Children
No Data
Related