-
Couldn't load subscription status.
- Fork 8.1k
Add basic support for Microchip PIC32CZ CA Family devices #97787
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
Add basic support for Microchip PIC32CZ CA Family devices #97787
Conversation
| /* Memory configuration: Flash size, RAM Size and Data Flash size for 1051 memory variants */ | ||
| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
superfluous comment in every file? The filename indicates that. Remove from all files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nordicjm for the comment.
I can keep the bare minimum text as the comment.
As this file name indication varies for certain other dtsi files
For eg:
[pic32cz_1051_ca.dtsi] - memory variant 1051
[pic32cz_ca_100.dtsi] - pin count 100
So a simple comment like this will be helpful I guess - " /* 1051 memory variants */ "
Shall I make that change in all files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need comments in all the files, what other soc has a comment in every file like that? The point in a comment is to allow someone to understand the way something works or why a specific thing was done, if all it does is describe what is already known by looking at e.g. the filename then the comment is worthless. Do we have comments in board README files e.g.
# this is the README for the native_sim board in boards/native_sim/docs/index.rst ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nordicjm for the clarification, I will remove all unwanted comments from these files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated as per your comment @nordicjm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AzharMCHP , I reviewed the removal of comments. I agree with @nordicjm about removing redundant info as comments. But, how are you now differentiating pin variant configuration and memory variant configuration? It is not evident from file name
Adds common and SoC-specific .dtsi files for the Microchip PIC32CZ CA80 CA90 and CA91 family. These files define core peripherals, address maps, and interrupt controller structure shared across the PIC32CZ CA80 9x variants. Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
Adds initial SoC-level support for the Microchip PIC32CZ CA80/9x series, including SoC definition files. Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
4fe186c to 9c443ad Compare | | ||
| 2. Connect the Board | ||
| | ||
| - Connect the `J32 Debug Probe <https://www.microchip.com/en-us/development-tool/dv164232>`_ to the board's **CORTEX DEBUG** header. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Mouser Electronics, DigiKey, Microchip Direct, indicate DV164232 as Obsolete / End of life / Out of stock.
Is there any debug probe that supports PIC32CZ CA and is available for purchase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the comment!
J-32 is a J-Link BASE compatible debug probe. Any SEGGER J-Link BASE compatible debug probe can be used for debugging PIC32CZ CA devices.
For eg: https://shop.segger.com/debug-trace-probes/debug-probes/j-link/j-link-base-compact
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @kartben for your comment!
I have updated the image as per your suggestion.
Add initial support for the PIC32CZ CA80 Curiosity Ultra Development Board Product page: https://www.microchip.com/en-us/development-tool/ev51s73a Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
9c443ad to 10986c6 Compare |




This PR adds initial support for Microchip’s PIC32CZ CA family of SoCs, along with board support for the PIC32CZ CA80 Curiosity Ultra development board (EV51S73A). It includes the basic SoC integration, devicetree files, and minimal configuration needed to bring up the board with a working blinky.