AnsweredAssumed Answered

LPC1769 SPI with CMSIS RTOS V2

Question asked by Graham Thomas on Jul 9, 2020
Latest reply on Jul 9, 2020 by xiangjun.rong

Hi, I'm trying to get SPI working on the LPC1769 using the CMSIS RTOS v2, and am having some issues.

 

I'm trying to send a 16-bit address (0x7FFE) over the MOSI line to query a register in a peripheral (code is attached). I set up the SPI pins in the RTOS configuration wizard as shown below:

 

 

 

 

The SSEL and SCK pins are outputting pulses correctly, but I'm getting nothing from the MOSI pin. And looking at the values set in the PINSEL0 register after initializing, the pins appear to be set to the correct SPI functions. Is there something I'm forgetting?

Attachments

Outcomes