Commit Graph

5182 Commits

Author SHA1 Message Date
Gregory Nutt
c8c470271f SAMV7 SPI Slave: Completes implementation basic, no-DMA driver 2015-08-10 10:05:00 -06:00
Gregory Nutt
c7b0a35e85 Rename sam_spi_slave_initialize to up_spi_slave_initialize for better symmety with the Master SPI interface definition 2015-08-09 17:41:55 -06:00
Gregory Nutt
ec68d00ed8 A few more cosmetic changes to the SAMV7 SPI slave driver-in-progress 2015-08-09 16:21:49 -06:00
Gregory Nutt
1fbd5351ff Fix typo in a Kconfig file 2015-08-09 15:50:04 -06:00
Gregory Nutt
c7eaa00ed4 SAMV7 SPI slave: Add output queuing and interrupt handling 2015-08-09 15:42:32 -06:00
Gregory Nutt
5f4224115a SAMV7 SPI Slave: Add a basic driver framework for SPI slave. Still a lot of missing logic 2015-08-09 12:04:43 -06:00
Gregory Nutt
7e7150899a SAMV7: Add configuration options to select SPI slave (slave driver not yet committed) 2015-08-09 09:47:06 -06:00
Gregory Nutt
05aae51c89 SAMV7 MCAN: Lock the scheduler at one critical point to avoid a possible race condition 2015-08-09 08:41:57 -06:00
Gregory Nutt
7a6bdf286e SAMV7 MCAN: Add some precautions to assue that a counting semaphore does not get out of synch 2015-08-08 08:38:52 -06:00
Gregory Nutt
a7a52252a8 SAMV7 MCAN: Fix DCACHE configuration dependency; Mkae sure DMA buffers are aligned to the cache line size at the end, Make RX FIFO1 the high priority FIFO and it it preference for RX input 2015-08-07 12:31:01 -06:00
Gregory Nutt
75ce247ed1 Use message sized defined in can.h 2015-08-07 09:01:30 -06:00
Gregory Nutt
aea94d9525 SAMV7 MCAN: Add support for all filter modes 2015-08-07 08:23:21 -06:00
Gregory Nutt
955202b895 Grr.. typos crept in during the last minute clean-up of the previous fix 8( 2015-08-06 12:50:11 -06:00
Gregory Nutt
32900bdb0b SAMV71 MCAN: Fix standard ID mask 2015-08-06 12:47:14 -06:00
Gregory Nutt
f7bcff3d12 SAMV7 MCAN: Fix filter configuration when now filters are defined. We need to accept all messages in this case 2015-08-06 11:50:41 -06:00
Gregory Nutt
86f7a58954 SAMV7 MCAN: some fixes from early testing 2015-08-06 10:24:31 -06:00
Gregory Nutt
73a96ab078 Update some function headers 2015-08-05 16:22:10 -06:00
Gregory Nutt
983df071c3 STM32V7 MCAN: CAN FD mode depends on support from the upper half driver, so it is now global CAN configuration 2015-08-05 13:55:20 -06:00
Gregory Nutt
bb47c7f80e SAMV7 MCAH: Add support for IOCTL commands that manage filters 2015-08-05 12:59:29 -06:00
Gregory Nutt
d824223736 SAMV7 MCAN: Fix uninialize configuration value 2015-08-05 09:16:16 -06:00
Gregory Nutt
ba23314cbf Merge remote-tracking branch 'origin/master' into mcan 2015-08-05 08:57:29 -06:00
Gregory Nutt
f986d08515 SAMV71: Fix error in GPIO interrupt numbering 2015-08-05 08:57:05 -06:00
Gregory Nutt
4db9f276e6 SAMV7 MCAN: Fix some compilation errors when CAN debug is enabled 2015-08-05 08:21:32 -06:00
Gregory Nutt
92f5bf01c3 SAMV7 MCAN: Correct some compile errors when only MCAN1 is enabled 2015-08-05 08:07:25 -06:00
Gregory Nutt
1a93dadf26 SAMV7 MCAN: Fix some compilation warnings (some of which are real coding errors). 2015-08-05 07:29:20 -06:00
Gregory Nutt
c30cfe2025 SAMV7 MCAN driver is code complete (with some missing functionality) 2015-08-05 07:09:29 -06:00
Gregory Nutt
c8923bb6fc SAMV7 MCAN: Finish some TX FIFO status methods; Correct interpretation of DLC in CAN_FD mode 2015-08-04 17:19:47 -06:00
Gregory Nutt
a64398c86b SAMV7 MCAN: Minor correcting to message size calculation 2015-08-04 14:05:07 -06:00
Gregory Nutt
bb32aa8d24 SAMV7 MAN: Flesh out interrupt logic; add RX message handling logic 2015-08-04 13:51:34 -06:00
Gregory Nutt
62a9aed53a SAMV7 MCAN: Add logic to send messages usign the TX FIFOQ 2015-08-04 11:41:38 -06:00
Gregory Nutt
f7350568f3 STM32 ADC changes suggested by Max Kriegleder 2015-08-04 06:29:40 -06:00
Gregory Nutt
4e2a95c71e SAMV7 MCAN: Add some default values of configuration settings 2015-08-03 19:21:43 -06:00
Gregory Nutt
949cea035c Fix a spelling error 2015-08-03 13:53:53 -06:00
Gregory Nutt
e89d8c4a5f SAMV7 MCAN: Remove SAMA5 kruft; beginning of some interrupt logic 2015-08-03 13:50:02 -06:00
Gregory Nutt
bf8230d7b4 SAMV7 MCAN: Update some register debug output 2015-08-03 10:02:18 -06:00
Gregory Nutt
d53f6b9353 SAMV7 MCAN: Finishes most of the initalization logic 2015-08-03 09:10:38 -06:00
Gregory Nutt
2b76d57c30 Merged in rnouse/nuttx-arch (pull request #3)
Add custom IOCTL for UART port
2015-08-03 06:48:04 -06:00
Anton D. Kachalov
19d8b4c46e Add custom IOCTL for UART port
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 15:34:29 +03:00
Gregory Nutt
cabe75a51d SAMV71 MCAN: Add some mode-related initialization logic 2015-08-02 14:51:01 -06:00
Gregory Nutt
f5e7dd777e SAMV7 MCAN: Add logic to configure clocking and message RAM addresses 2015-08-02 13:25:14 -06:00
Gregory Nutt
fe211d1b88 SAMV7 MCAN: remove old AUTOBAUD option; add a local LOOPBACK option 2015-08-02 11:18:51 -06:00
Gregory Nutt
d97c0db228 SAMV7 MCAN: Correct name of pin configurations 2015-08-02 10:58:04 -06:00
Gregory Nutt
269180e19d SAMV71 MCAN: message RAM configuration 2015-08-02 10:37:54 -06:00
Gregory Nutt
1aac62cce3 SAMV71 MCAN: Fix base address 2015-08-02 10:09:24 -06:00
Gregory Nutt
34c3c780e1 SAMV71 MAN configuration data 2015-08-02 10:08:18 -06:00
Gregory Nutt
a5755cb378 SAMV71 MCAN: Add range checking of configuration setting 2015-08-01 15:57:06 -06:00
Gregory Nutt
a3ec0a1414 SAMV7: Complete MCAN configuration options 2015-08-01 12:40:18 -06:00
Gregory Nutt
6c9e8b5092 SAMV7 MCAN: Add some definitions for the PCK5 clock source and prescaler 2015-07-31 11:24:29 -06:00
Gregory Nutt
70f6e1e8bb Merge remote-tracking branch 'origin/master' into mcan 2015-07-31 10:14:42 -06:00
Gregory Nutt
d9830da295 Fix naming of idempotency variable 2015-07-31 10:14:06 -06:00