Post Created date
UART as SPI on mega, work with SD-card via UART
Is there somebody real AVR professionals?
Wednesday, 22 February 2012 - 12:34
UART as SPI on mega, work with SD-card via UART
before check all HW, it would be great if somebody check if my translation from HW SPI to USART in SPI is done properly :)
Tuesday, 14 February 2012 - 06:24
UART as SPI on mega, work with SD-card via UART
Hi! Coud somebody check transformation from SPI to USART in SPI mode: == SPI == #define CS_LOW() PORTB &= ~1 #define CS_HIGH() PORTB |= 1 #define xmit_spi(dat) SPDR=(dat);...
Wednesday, 25 January 2012 - 06:52
UART as SPI on mega, work with SD-card via UART
Can you share your copy of ffsample? thank
Tuesday, 24 January 2012 - 13:14
UART as SPI on mega, work with SD-card via UART
Yes, it is good for SPI, and what will be BAUD for USART for 100k-400k? in copy I found in internet of mmc.c in sd_poweron: SPSR = 0x01 that mean SPI2x, SPI2x=1 and SPR1=1 and...
Tuesday, 24 January 2012 - 11:36
UART as SPI on mega, work with SD-card via UART
Thank, I have read initialisating MPSIM mode in Datasheet long ago. Init and sample send/receive work fine, but in project with SD it send/receive data not like when using SPI....
Tuesday, 24 January 2012 - 09:20
UART as SPI on mega, work with SD-card via UART
How this function will look for SPI in USART mode? static BYTE sd_rcvr(void) { SPDR = 0xFF; loop_until_bit_is_set(SPSR, SPIF); return SPDR; }
Monday, 23 January 2012 - 13:03
UART as SPI on mega, work with SD-card via UART
Because I'd like use UART instead SPI :)
Wednesday, 18 January 2012 - 13:19
UART as SPI on mega, work with SD-card via UART
The question is that I need help. My project include diskio.c, not mmc.c, where SPI is used. With original SPI it works fine. comments of diskio.c...
Tuesday, 17 January 2012 - 13:36
UART as SPI on mega, work with SD-card via UART
Any sugg? :)
Tuesday, 17 January 2012 - 08:30
UART as SPI on mega, work with SD-card via UART
With SPI as default in library, it works
Monday, 16 January 2012 - 06:26
UART as SPI on mega, work with SD-card via UART
yes, I know, SPI can connect several devices, but I'd like use UART instead :) is this ok for setting BAUD and init? #define SYSCLK 4000000UL #define SD_UART_BAUDRATE 100000L...
Friday, 13 January 2012 - 13:00

Pages