LPC43xx SGPIO Slice 示意图

SGPIO inverted clock qualifier

Hi,

With bits 6:5 of SGPIO_MUX_CFG the QUALIFIER_MODE is selected (0x0=enable, 0x1=disable, 0x2=slice, 0x3=pin).
With bit 8 (INV_QUALIFIER) of SLICE_MUX_CFG one can invert the qualifier (0x0=normal qualifier, 0x1=inverted qualifier).

However if one sets INV_QUALIFIER=0x1, then the meanings of the first 2 alternatives of the QUALIFIER_MODE are reversed,
in other words: 0x0=disabled and 0x1=enabled.

I've tested this with a pin-qualifier using the LPC4330-Xplorer board.

Regards,
pdv

The observed behavior is indeed the case.

With bits 6:5 of SGPIO_MUX_CFG the QUALIFIER_MODE is selected (0x0=enable, 0x1=disable, 0x2=slice, 0x3=pin).
With bit 8 (INV_QUALIFIER) of SLICE_MUX_CFG one can invert the qualifier (0x0=normal qualifier, 0x1=inverted qualifier).


However if one sets INV_QUALIFIER=0x1, then the meanings of the first 2 alternatives of the QUALIFIER_MODE are reversed,
in other words: 0x0=disabled and 0x1=enabled.


Technically the qualifier_mode 
- 0x0 makes the qualifier continues 1, 
- 0x1 makes it continues 0,
- 0x2 ..
- 0x3 ..

The inversion turns the 1 into 0 and the 0 into 1 causing the strange observation.
regards,

NXP MCU Support

 

 

posted @   IAmAProgrammer  阅读(683)  评论(0编辑  收藏  举报
(评论功能已被禁用)
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
历史上的今天:
2014-09-12 ARM Compiler toolchain Compiler -- Supported ARM architectures
2013-09-12 AskUsingForm_c函数
2013-09-12 STM32F401
2013-09-12 按字母顺序排列的IDC函数列表
2013-09-12 IDA 中文字符串
2013-09-12 Retrieving ST-Link/V2 Firmware from Update Utility
2013-09-12 IDA IDC Tutorials: Additional Auto-Commenting
点击右上角即可分享
微信分享提示