Hello,
could you please provide more details about your use-case including targeting MCU and details regarding slave device? However generally you cannot share/use Init_SPI and SPIMaster_LDD component together.
Based on your description, there are the following options:
- use Init_SPI and write the run-time routines manually.
- use SPIMaster_LDD, freeze the generated code and modify it manually.
- use the SPIMaster_LDD and set it to send 8-bit data (handle the SS by GPIO_LDD in case you need to toggle after 24-bits).
Note:
Please post all future PEx related questions on PEx forum: Processor Expert Software
best regards
Vojtech Filip
Processor Expert Support Team