Search found 17 matches

by xldaedalus
Tue Jul 05, 2022 8:38 pm
Forum: LXSeries Open Source
Topic: LXSAMD21DMX library for SAMD21
Replies: 12
Views: 5751

Re: LXSAMD21DMX library for SAMD21

I found the issue. The wrong hardware was being defined by the Arduino IDE, and using the standard Arduino-Zero variant.cpp instead of the Sparkfun Dev Board Arduino Zero variant.cpp. I fixed the by commenting out the definition of the SERCOM5_Handler() in the standard Arduino Zero variant.cpp line ...
by xldaedalus
Tue Jul 05, 2022 7:29 pm
Forum: LXSeries Open Source
Topic: LXSAMD21DMX library for SAMD21
Replies: 12
Views: 5751

Re: LXSAMD21DMX library for SAMD21

Ok, I got everything compiling. Hardware checks out Tx=30 Rx=31 DIRECTION_PIN (DMX_RE/DE) = 14. I can see RDM requests being input into the RX pin on the SAMD21. RDMDeviceTest does nothing. No RDM ID is returned. No serial data of any kind is being reported by the serial debug monitor. I set DIRECTI...
by xldaedalus
Mon Jul 04, 2022 10:09 pm
Forum: LXSeries Open Source
Topic: LXSAMD21DMX library for SAMD21
Replies: 12
Views: 5751

Re: LXSAMD21DMX library for SAMD21

For unknown reason, the Sparkfun Dev Board is an "Arduino Zero". Serial Monitor is normally Serial.print. On the Sparkfun, Serial.print prints to pins 30,31 - the pins need to have connected to SerialDMX. Serial1.print prints to D0, D1 and SerialUSB.print prints to the USB. The latter is t...
by xldaedalus
Sat Jun 25, 2022 12:59 am
Forum: LXSeries Open Source
Topic: LXSAMD21DMX library for SAMD21
Replies: 12
Views: 5751

Re: LXSAMD21DMX library for SAMD21

Yes, sorry if I am verbose. I assume someday, someone like me will run across these posts and will appreciate detail Yes, I had a question. You use "pin(31ul)" in your definitions in LXSAMD21DMX.h. I've looked for the meaning of "ul" appended to the pin number and I can't find wh...
by xldaedalus
Fri Jun 24, 2022 1:04 am
Forum: LXSeries Open Source
Topic: LXSAMD21DMX library for SAMD21
Replies: 12
Views: 5751

Re: LXSAMD21DMX library for SAMD21

I added this macro to LXSAMD21DMX.h #elif ( use_optional_sercom_macros == 6 ) //********************** optional sercom macros 6 ********************** // Arduino Zero Port 0 aka Serial.xxx calls go to this port Port 1 aka Serial1.xxx calls go to pins D0,D1 // SerialUSB.xxx calls go to the USB port a...
by xldaedalus
Fri Jun 24, 2022 12:43 am
Forum: LXSeries Open Source
Topic: LXSAMD21DMX library for SAMD21
Replies: 12
Views: 5751

Re: LXSAMD21DMX library for SAMD21

I am using Arduino 1.8.13. The Sparkfun SAMD21 DEV Breakout board appears as an Arduino Zero. I deleted the old LXSAMD21 library and downloaded and re-installed the updated library from GitHub. Now it compiles! Thanks for doing that. Now to figure out how to get the serial ports working correctly. T...
by xldaedalus
Wed Jun 22, 2022 10:46 pm
Forum: LXSeries Open Source
Topic: LXSAMD21DMX library for SAMD21
Replies: 12
Views: 5751

LXSAMD21DMX library for SAMD21

I'm new to C++ but have been designing and programming Lighting hardware for 10+ years. I'm trying learn some new things and add bluetooth, wifi etc to mix and get away from MPLab. I'm attempting to to build a small DMX/RDM prototype board using the SAMD21 DEV Breakout board. It has a SAMD21G18. I j...