The DEVKIT-S12ZVC_LAB5SPI.zip(in DEVKIT-S12ZVC-LAB.zip and DEVKIT-S12ZVC-QSP.zip) can not work.
The code create at 2016-07-18 10:05
I modify "Version: Driver 01.14" to "Rev.A"
- Modify ProcessorExpert.pe -> Components -> Init_LED:BitsIO -> PP4, PP5, PP6
- Add "#define Slave 1"
- Modify "#define LED_RED/GREEN/BLUE" from "PP2/3/4" to "PP4/5/6"
- Change device from SPI1(PS4:7) to SPI0(PS0:3)
- Change data width from 16-bit to 8-bit
I provide the code as attachments. It can work fine.
Original Attachment has been moved to: DevKit-S12ZVC_SPI_Lab5_RevA.rar
Original Attachment has been moved to: DevKit-S12ZVC_SPI_Lab5_RevB.rar