Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Grand Central M4 to use with RADDS 3D-Printer Board
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Grand Central M4 to use with RADDS 3D-Printer Board

by bejokoger on Sun Mar 08, 2020 4:17 pm

The RADDS uses SPI Pins 50 to Pin 53 for fastio.

Is it possible to insert following in the HAL-File for the GCM4 ?

/home/bernd/Schreibtisch/Marlin-2.0.4.3/Marlin/src/HAL/HAL_SAMD51/fastio.h

// PORTD
// Test
// Pin 50 MISO SPI PD11
#define DIO50_PIN PIN_PD11
// Pin 51 MOSI SPI PD8
#define DIO51_PIN PIN_PD08
// Pin 52 CLK SPI SPI PD9
#define DIO52_PIN PIN_PD09
// END: Test

Compiling with Marlin seems OK

But what is happens if I flash the code ?
Which problems can appear with this changes ?

Thx in advance

Bernd

bejokoger
 
Posts: 1
Joined: Sun Mar 08, 2020 4:10 pm

Re: Grand Central M4 to use with RADDS 3D-Printer Board

by adafruit_support_mike on Mon Mar 16, 2020 3:50 am

Pins 50-53 do SPI the same as an Arduino Mega, for the sake of compatibility.

adafruit_support_mike
 
Posts: 61443
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.