Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(PeriphDrivers): Fix MAX32690 I2C Recovery Failures for TQFN Package #1065

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

Jake-Carter
Copy link
Contributor

Description

This PR adds a check for the MAX32690GTK_PACKAGE_TQFN compiler definition to work around MAX32690 Rev A2 Errata #16 (See https://www.analog.com/media/en/technical-documentation/data-sheets/max32690_a2_errata_rev2.pdf)

Testing found that the MXC_I2C_Recover function would fail for this package, but only if the unrouted set of pins were enabled.

The new definition is added to the board.mk file in the BSP for the EVKIT. In this way, BSPs that use the TQFN package can match the hardware.

As implemented in #958, the WLP package enables both sets as recommended by the errata. However, for the TQFN this seems to be problematic. The I2C "scl" status bit in the control register always indicates the pin is at logic level 0 if the unrouted GPIOs are configured.

@Jake-Carter Jake-Carter changed the title fix(PeriphDrivers): Fix MAX32690 I2C Init Failures for TQFN Package fix(PeriphDrivers): Fix MAX32690 I2C Recovery Failures for TQFN Package Jun 29, 2024
@github-actions github-actions bot added the MAX32690 Related to the MAX32690 (ME18) label Jun 29, 2024
@Jake-Carter Jake-Carter merged commit 7179aa4 into analogdevicesinc:main Jul 8, 2024
8 checks passed
@Jake-Carter Jake-Carter deleted the fix/me18-tqfn branch July 8, 2024 20:41
EricB-ADI pushed a commit that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MAX32690 Related to the MAX32690 (ME18)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants