dsPIC33EP512MU810 datasheet note states, "The SMP bit must be set only after setting the MSTEN bit. The SMP bit remains cleared if MSTEN =0" http://ww1.microchip.com/downloads/en/DeviceDoc/70616g.pdf (p.341)
PIC16BIT_CAL_SPI.c assigns the value of SMP prior to setting MSTEN. Hence, it appears that Input data is always sampled at the middle of data output time, even if "END" is selected in the SPI component properties.
A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.
2 posts • Page 1 of 1