Content originally posted in LPCWare by capiman on Thu Sep 05 01:18:49 MST 2013
@all
Please create your own threads if you want to report a problem, which is different to the original post.
You can off course add a link to the old thread.
Especially when the subject says: LPC1227 and your problem is on a completely different uC like LPC4357,
this leads only to the use of the wrong documentation and hints.
@Sphoenix
In your init routine, you seem to use SPI_CR_MSTR_Msk, which looks like being a mask for a certain field, no real value.
Can you check what value SPI_CR_MSTR_Msk has and what value LPC_SPI->CR gets and if this is really
the value you want to have in register CR (compare with user manual!!!).
I have not looked into your other code.