analogdevicesinc / msdk

Software Development Kit for Analog Device's MAX-series microcontrollers
Apache License 2.0
61 stars 81 forks source link

feat(Boards): AD-APARD32690-SL Board Support #950

Closed BrentK-ADI closed 6 months ago

BrentK-ADI commented 6 months ago

Description

Initial commit of the board support for the AD-APARD32690-SL board for the MAX32690. Board files and updates to GPIO example project. AD-APARD32690

BrentK-ADI commented 6 months ago

Commits so far include the actual board files and updates to the GPIO example, which looked to be the only example impacted by the different pin assignments.

Provide guidance on additional changes needed to complete the PR.

BrentK-ADI commented 6 months ago

@Jake-Carter Thanks for the tip on the ERR_NOTSUPPORTED. This board doesn't have a display so might make sense to skip that example.

I may have missed it, but didn't see any BSPs that include HyperRAM in them. This board has 2 banks of HyperRAM attached to CS0 and CS1 respectively. Should this be added similar to the External Flash, or leave it separate as just an example application?

Also, not for this commit, but future work, the board has a ADIN1110 MACPHY and MAXQ1065 Crypto Co-Processor. At some point it'd be nice to tie these in, although we'll have to navigate the licensing issues as those SDKs fall under different licenses than the MSDK.

sihyung-maxim commented 6 months ago

@Jake-Carter Thanks for the tip on the ERR_NOTSUPPORTED. This board doesn't have a display so might make sense to skip that example.

I may have missed it, but didn't see any BSPs that include HyperRAM in them. This board has 2 banks of HyperRAM attached to CS0 and CS1 respectively. Should this be added similar to the External Flash, or leave it separate as just an example application?

Also, not for this commit, but future work, the board has a ADIN1110 MACPHY and MAXQ1065 Crypto Co-Processor. At some point it'd be nice to tie these in, although we'll have to navigate the licensing issues as those SDKs fall under different licenses than the MSDK.

There exists an example using the MAX32690's HyperBus (HPB) Memory Controller peripheral with the HyperRAM.

https://github.com/analogdevicesinc/msdk/tree/main/Examples/MAX32690/HBMC

BrentK-ADI commented 6 months ago

The only examples that look to be problematic are anything based on I2C (EEPROM Emulator, I2C, Temp_Monitor). The APARD board uses the alternate function I2C pins which are not automatically supported by the MSDK. See #949. We can hold off on this PR until that is resolved, or come back to it later.

BrentK-ADI commented 6 months ago

Rebased against the latest main which includes the I2C fixes. Updated I2C related examples. Needed to error out on two of them: