AnsweredAssumed Answered

mc9s12xep100 SPI2, no mosi

Question asked by Angelo Dureghello on Sep 22, 2016
Latest reply on Sep 26, 2016 by Angelo Dureghello

Dear all,

testing writing some bytes over SPI2, mcu is master, so SPI is master mode:


below mi initialization.


spi->cr1 = CR1_MSTR | CR1_SPE | CR1_SSOE | CR1_CPHA;

spi->cr2 = CR2_MODFEN;


// 12Mhz SPI clock
 spi->br = 0x00;


I see clearly by scope the clock generated on SCK by the mcu, but on MOSI i only see level to go fixed high.