Commit graph

197 commits

Author SHA1 Message Date
Thibaut VIARD
264a5a59e7 [zero/SPI] Adding default values for SPI custom definitions 2015-08-13 12:07:51 +02:00
Thibaut VIARD
9440d5bf60 [zero/Wire] adding missing library properties 2015-08-11 09:42:44 +02:00
Thibaut VIARD
6ec964dba1 [zero/SPI] adding missing library properties 2015-08-11 09:42:26 +02:00
Thibaut VIARD
b81bc46484 [zero] Bring more customization to Wire class 2015-08-10 13:39:47 +02:00
Thibaut VIARD
7fbd66521e [zero] Bring more customization to SPI class 2015-08-10 13:39:31 +02:00
Cristian Maglie
18c63ceb74 Fixed metadata on USBHost
Close #5
2015-07-18 20:40:23 +02:00
PaoloP74
842bc471ca Update Wire.h 2015-07-06 11:36:44 +02:00
PaoloP74
f1c078cbf4 Update Wire.cpp 2015-07-06 11:35:46 +02:00
Fede85
d11a972706 fixed serial print alignment in USBHost/MouseController example 2015-06-17 16:39:53 +02:00
Cristian Maglie
30f23fb9ac Other license cleanup 2015-06-15 14:25:42 +02:00
Cristian Maglie
97f1cf6af5 Hide non-API pinPeripheral method 2015-06-15 14:16:15 +02:00
Claudio Indellicati
4001ec4954 Added SAMD specific library for ADC result correction. 2015-05-20 15:17:25 +02:00
Cristian Maglie
e3a367f878 Fixed SPI datamode settings
The missing break in every case will have MODE0 always selected
2015-05-19 16:41:31 +02:00
Claudio Indellicati
cb722cfd06 Implemented SPI Transaction API. 2015-03-27 17:53:30 +01:00
Cristian Maglie
f0e76f9af8 SPI: fix indent 2014-10-28 15:20:22 +01:00
Cristian Maglie
eca1341c7b Limit SPI max clock speed to 12Mhz
SAMD21G18A doesn't operate correctly with clock dividers lower than 4
2014-10-28 15:20:21 +01:00
Cristian Maglie
98341bfb82 Added SPI clock divisor for compatibility with legacy SPI library for AVR 2014-09-11 22:25:49 +02:00
Cristian Maglie
4206a3cd77 Simplified formula for SPI divisor calculation 2014-09-11 18:57:00 +02:00
Cristian Maglie
c7866bfce4 Added SPI block-transfer method 2014-09-11 18:45:11 +02:00
Cristian Maglie
29bc12e762 Added stub for SPI transactions 2014-09-11 18:45:11 +02:00
Jean-Christophe BUDA
1b9d7008b3 Merge branch 'zero' of https://github.com/aethaniel/ArduinoZero into usb_valid_host
Conflicts:
	hardware/arduino/samd/variants/arduino_zero/variant.h
2014-09-11 16:46:59 +02:00
Thibaut VIARD
f1a8c8b140 Update pin numbers according to recent changes
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-11 16:39:21 +02:00
Cristian Maglie
f3cf7a0a24 USBHost, fixed wrong architecture tag (SAM -> SAMD) 2014-09-10 12:20:46 +02:00
Jean-Christophe BUDA
6d36cba451 usb host and device update merge branch 'jc-3' into zero
Conflicts:
	hardware/arduino/samd/cores/arduino/USB/USBCore.cpp
	hardware/arduino/samd/cores/validation/validation_usb_device/build_as6/test.cppproj
2014-09-09 16:23:17 +02:00
Cristian Maglie
adcfb53e96 Fixed includes in SPI library 2014-09-08 14:37:18 +02:00
Thibaut VIARD
3355867550 fixing typo in wire.h 2014-09-03 19:24:18 +02:00
Jean-Christophe BUDA
40c47d7631 update .ino files for USBhost 2014-08-13 16:48:55 +02:00
Jean-Christophe BUDA
0dd2fdef2b usb host correct out messages 2014-08-12 15:29:37 +02:00
Jean-Christophe BUDA
c5d519c01e move libraries/USBHost to hardware/arduino/sam/libraries/USBHost and for samd 2014-08-07 11:10:40 +02:00
Thibaut VIARD
ae42fd1167 Adding license in files, update platform.txt 2014-07-25 17:11:29 +02:00
Jonathan BAUDIN
280bc4e001 Fix SPI 2014-06-05 12:15:20 +02:00
Jonathan BAUDIN
6c67c97fad Fix Wire bug. First bytes not read. 2014-06-02 16:23:26 +02:00
Jonathan BAUDIN
f12a643445 Fix Wire and add test with RTC 2014-05-21 12:16:28 +02:00
Jonathan BAUDIN
ff46a3c100 Fixing Wire 2014-05-20 17:34:26 +02:00
Jonathan BAUDIN
ead58260a3 Fix SERCOM Wire, add functions Wire class 2014-05-19 13:24:35 +02:00
Jonathan BAUDIN
8b1d9bfd27 SPI implement tested 2014-05-15 18:10:01 +02:00
Jonathan BAUDIN
e4ab3ba3ef Few UART corrections, modifiy Variant files 2014-05-15 11:54:59 +02:00
Jonathan BAUDIN
07e782b2b1 Fix UART EDBG and baudrate 2014-05-12 20:37:59 +02:00
Jonathan BAUDIN
0eca3bd649 Use new IRQ functions 2014-05-09 14:09:41 +02:00
Jonathan BAUDIN
a8969bd183 Change SERCOM used by Wire 2014-05-07 17:26:48 +02:00
Jonathan BAUDIN
92d2f670f0 Creating objects SERCOMx, Serial, SPI and Wire. 2014-05-07 16:56:34 +02:00
Jonathan BAUDIN
7e75870756 Correction compilation errors. 2014-05-07 16:02:25 +02:00
Jonathan BAUDIN
f6e007bc9d WIRE class finished. SERCOM class completed. Few correction in HardwareSerial and SERCOMUsart after compilation 2014-05-05 17:49:57 +02:00
Jonathan BAUDIN
f307bf454d Complete SERCOM and WIRE classes 2014-05-05 14:24:10 +02:00
Jonathan BAUDIN
1014ac90c1 Add txBuffer (ring buffer) to SercomUart.
Add SPI functions into SERCOM class and create SPI class
2014-04-28 15:49:42 +02:00
Jonathan BAUDIN
8fe524de16 Add function for Sercom SPI 2014-04-25 11:53:15 +02:00
Thibaut VIARD
ac73b87928 Cleanup and adding more needed files 2014-04-16 10:53:11 +02:00