Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

AT91SAM7X256 and SPI support

Posted by Nobody/Anonymous on March 2, 2006
Is there any support for SPI interface with AT91SAM7X256. I would like to use interface SPI0 to communicate with a device.

Regards

Christian

RE: AT91SAM7X256 and SPI support

Posted by Nobody/Anonymous on March 2, 2006
Not really the answer, but if you look at the WIZNet demo (LPC not SAM) you will see an I2C driver. You could at least copy the structure if nothing else.

RE: AT91SAM7X256 and SPI support

Posted by Nobody/Anonymous on March 3, 2006
Hum, i really need to have spi interface for rtos. If a team works on this project, I would like to participate to implement it.

Regards

Christian

RE: AT91SAM7X256 and SPI support

Posted by Nobody/Anonymous on March 3, 2006
have you tried using the SPI PDC? I know this isn't portable but for the SAM7X it is quite interesting. You just config the spi interface and the set the tx_buff & rx_buff address and how many bytes to exchange then voila... you get your data in the rx_buff

RE: AT91SAM7X256 and SPI support

Posted by Jokke on March 7, 2006
I tried the PDC for SPI, and I am not so enthusiastic. With bitrates at e g 10 MHz you spend as much time filling the PDC buffer with 32 bit data (for each transfer you need to buffer 32 bit, even if the transfer is only 8 bit) as you would do waitning for the SPI to get ready for the next byte, and for many devices you need the more direct connection between data sent and data received that you can get if you do the transmition under more direct transmission control.

RE: AT91SAM7X256 and SPI support

Posted by Henk Visser on March 7, 2006
How are you sending out data now? Just checking for TDRE and placing data into TDR?

Thanks.


RE: AT91SAM7X256 and SPI support

Posted by Nobody/Anonymous on March 8, 2006
Thanks,

It works with TDR and RDR. I wrote the source code and it's not really complicated.

Regards

Christian


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists