Jump to content
  • 0

MX7CK and PmodAD5 example code


dthorsen31

Question

I found example code on github that supports the MX3ck controller connected to a PmodAD5 8 channel ADC.  The MX3ck is no longer available, but I was able to find availability of a similar PIC32 controller, the MX7ck.  Does anyone have any code examples with the MX7ck and PmodAD5?  
Thanks!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @dthorsen31,

Digilent does not have any direct examples of this.

I'm not sure which example code you are referring to, but if this was made for a MX3cK controller it should be very easy to port to the MC7cK. I imagine that the SPI initialization in the code uses SPI port 1, so presuming the code doesn't do anything hardware specific to the MX3cK, you should just be able to connect the Pmod AD5 to the MX7cK's SPI port, which is on Pmod port JD as per the reference manual: https://digilent.com/reference/microprocessor/pro-mx7/reference-manual#serial_peripheral_interface_spi. Though it might instead be on Pmod port JF if it is the standard Microchip SPI library and not the Digilent SPI library.

Thanks,
JColvin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...