Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

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

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner