Problems with USART in SPI Master mode - AT91SAM9G45

Discussion around AT91RM9200 and SAM9 Series Products.

Moderator: nferre

alb0001
Posts: 4
Joined: Mon May 03, 2010 2:38 am

Problems with USART in SPI Master mode - AT91SAM9G45

Wed Apr 10, 2013 12:50 am

Dear all,

We are having some problems receiving data using either one of the 4 USARTs on the AT91SAM9G45 as SPI masters or slaves with or without PDC. Data transmission (TX) seems to work but it is impossible to fire the RXRDY signal after receiving a byte and either treat it manually or use the PDC.

Just to give you an example, we were able to transmit some bytes using the PDC. The TCR (transmit count register) decremented accordingly (it even triggered TXBUFE etc.). However, when reading, the RCR (receive count register) will stay stuck at whatever value I pre-loaded with.

Do you know of any errata related to the SPI behavior of the USARTs on the AT91SAM9G45 Rev. B? Has anyone used USARTs in SPI master mode?

Thank you in advance,

Albert

Return to “SAM9 ARM9 MPU”

Who is online

Users browsing this forum: No registered users and 9 guests