draemer
February 12, 2023, 10:17pm
1
I am trying to figure out how to get a second serial port since, SoftwareSerial does not work with this board. Can someone explain how to make a serial port with fpga? Or is there an easier route?
An additional serial port, Serial1, is implemented on the samd. See the following for the pin mappings:
/*
Copyright (c) 2014-2015 Arduino LLC. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "variant.h"
#include "Arduino.h"
This file has been truncated. show original
The FPGA running the VidorPeripherals bitstream implements 9 additional Serials ports with one dedicated for communicating with the Nina chip (SerialEx), see:
/*
Copyright (c) 2015 Arduino LLC. All right reserved.
Copyright (c) 2018 Arduino SA. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "VidorUART.h"
This file has been truncated. show original
Hope this helps.
Edit: 2nd link.
system
Closed
August 28, 2023, 7:50am
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.