Microcontrollers

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to use SPI with DMA in SPC58

Hello allI would like to do SPI through DMA.Before transmitting data, we want to send the command of the PUSHR register together, so one channel wants to combine the data and transmit it through the minor loop link.However, there is a problem that it...

SKang.9 by Associate
  • 373 Views
  • 0 replies
  • 1 kudos

Configuration in spi slave mode

Hello.I'm working with spc560p and I want to enable it's spi slave mode​. All connections are OK but the slave is not working. My code is:​for(;;){spi_lld_start(...)​;spi_lld_receive(​...,Rxbuf);spi_lld_stop(...);​if(RXbuf == 0xAA){pal_togglepad;​}​}...

DNewm.1 by Associate III
  • 348 Views
  • 2 replies
  • 0 kudos

Resolved! How to do SPI + DMA?

Hi:I know how to use SPI;but, i want SPI+DMA, How to configure?Is there a sample code?

SLEE.6 by Associate II
  • 439 Views
  • 2 replies
  • 0 kudos

SPI - spikes on the MOSI line between frames

Posted on May 03, 2017 at 18:05Hi, I am using the SPC570S40E1 microcontroller. When looking at the MOSI line on the scope, I am seeing spikes right around the end of a frame even when transmitting all zeros. The device I am trying to communicate wit...

SPI - spikes on the MOSI line between frames

Posted on May 16, 2017 at 22:15Hi, I am using the SPC570S40E1 microcontroller. When looking at the MOSI line on the scope, I am seeing spikes right around the end of a frame even when transmitting all zeros. The device I am trying to communicate wit...

Resolved! SPI configuration - Send & Receive

Posted on April 21, 2017 at 21:39 Hi, I am trying to configure the SPI moduleon the SPC570S40E1 microcontroller to communicate with an external device. The devicerequiresmessage length of 40 bits.I would like to know if I am setting up the ...

Resolved! Assignment to itself

Posted on March 24, 2017 at 16:11Hi everyone,I'm trying to use SPI on SPC560B-DIS but the library lld_spi.c looks to be corrupted I have this error log:Assignment to itself 'spip->dspi->SR.R = spip->dspi->SR.R' spi_lld.c does someone know how to fix...