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

PIC32MZ support ? #368

Open
VigibotDev opened this issue Oct 22, 2017 · 8 comments
Open

PIC32MZ support ? #368

VigibotDev opened this issue Oct 22, 2017 · 8 comments

Comments

@VigibotDev
Copy link

Need a support for the bare minimum PIC32MZ board like the OLiMEX dev board.
To migrate my home project from PIC32MX (https://www.serveurperso.com/?page=robot).
I'm free for testing (with two OLiMEX boards)

Low level API wanted :

  • UART with custom interrupt code and Pipe software FIFO from Matt
  • Watchdog (lib from Matt)
  • SPI / Wire (MPU9250)
  • Hardware PWM (analogWrite)
  • attachInterrupt for PIN RISING
  • attachInterrupt for TIMER
  • pinMode / digitalRead / digitalWrite / 8-bits direct ports access

Pascal

@majenkotech
Copy link
Member

What you are asking for is not PIC32MZ support (which we already have) but a specific board definition for your specific board.

@VigibotDev
Copy link
Author

It's not possible to do a generic board definition with maximum I/O and hardware init ?

@VigibotDev
Copy link
Author

I need to get all I/O offered by the PIC32MZ2048 on a generic board

@majenkotech
Copy link
Member

Which PIC32MZ2048? There's lots of them. All of them different, and all of them needing special settings.

@VigibotDev
Copy link
Author

I have the PIC32MZ2048EFG144

@majenkotech
Copy link
Member

Ok. That is step one. Now we know what number to enter into one of the settings. That's about 2% done. The second step is to work through schematics and datasheets for both the chip and the board and match up where peripherals need to be mapped to. Getting that right takes a lot of time and effort. Then definitions for that specific board can be created.

There is no such thing as a "generic" board with MZ - PPS makes that impossible.

@VigibotDev
Copy link
Author

https://www.olimex.com/Products/PIC/Development/PIC32-HMZ144/resources/PIC32-HMZ144_UM.pdf
I must learn how to do the definitions... the 6*UART part is already done, same for a lot of MZ I think:D

@VigibotDev
Copy link
Author

Now I understand "PIC32MZ has Peripheral Pin Selection hardware that has to be configured."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants