找回密码
 立即注册

使用微信账号登录

只需一步,快速开始

查看: 6|回复: 0

[Nordic] nRF54L15 GPIO 特性

[复制链接]
连续签到天数:1天
签到总天数:8天
签到总奖励:36金币
发表于 6 小时前 | 显示全部楼层 |阅读模式
nRF54L15 的GPIO口分配
​ APB总线用于低速且低功耗的外围设备,nRF54L15根据APB总线的标号,对外设进行命名且对GPIO口进行端口分配。AMBIX为AMBA总线互联通道。
AMBIX0/APB00:
GPIO_P22.00~P2.10
APB/AHB外设如:CCM00,UARTE00,SPIM00,SPIS00...
AMBIX1/APB10:
GPIO:None
外设如:RADIO,TIMER10,PPIB10...
AMBIX2/APB20:
GPIO_P1: P1.00~P1.14(包括P1.00/P1.01 XL1 XL2)
外设如:GPIOTE20,UARTE20~22,TWIM20~22,GRTC,SAADC,PWM20~22...
在nRF54L15DK原理图上 : UART1 即APB20上的 UART20
AMBIX3/APB30:
GPIO_P0: P0.00~P0.04
外设如:GPIOTE30,UARTE30,RESET,WDT30~31...
有些外设对GPIO的引脚选择有要求,如:
[td]
Peripheral
Description
UARTE20/21
Can use any pin on P1. Can connect across power domains to dedicated pins on P2.
SPIMOO
Has dedicated pins on P2. For 32 MHz operation, the pins must be configured usingextra high drive EO/E1 configuration in the DRIVE0/1 fields of the PIN_CNF GPIOregister.
SPIM20/21
Can use any pins on P1; see notes on clock pins. Can be connect across powerdomains to dedicated pins on P2.
SPIS20/21
Can use any pins on P1; see notes on clock pins. Can connect across power domainsto dedicated pins on P2.
TRACE
Has dedicated pins that must be configured using extra high drive EO/E1configuration in the DRIVE0/1 fields of the PIN_CNF GPIO register.
GRTC
Has dedicated pins for clock and PWM output.
TAMPC
Has dedicated pins for active shield input and output.
FLPR
Uses dedicated pins on P2 for emulated peripherals such as QSPI.
RADIO
Uses dedicated pins on P1 for antenna switch control (DFEGPIO for directionfinding).
NFC
Uses dedicated pins as listed in the pin assignments table for the selected device.These pins are configured as NFC antenna pins from reset. To use the pins forDigital 1/0, NFC function must be disabled in the NFCT - Near field communicationtag on page 348 peripheral.
外设管脚的默认配置: ncs/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15-pinctrl.dtsi
用户可以通过在app工程中添加XXX.overlay文件对外设管脚进行重新分配。比如:
编译完成后可以通过查看生成的zephyr.dts确认.overlay的文件是否生效,并检查GPIO的管脚配置是否正确。比如button工程编译后最终zephyr.dts所在目录:ncs/zephyr/samples/basic/button/build/button/zephyr/zephyr.dts


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册  

×
楼主热帖
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
您需要登录后才可以回帖 登录 | 立即注册  

本版积分规则

小黑屋|手机版|我爱蓝牙网 - 52Bluetooth

GMT+8, 2025-9-4 17:05 , Processed in 0.142590 second(s), 12 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表