AN-1016 Serial to Parallel/Parallel to Serial (S2P)
The Serial to Parallel / Parallel to Serial block (S2P) has two 16-bit registers (2 bytes) that are used for data transfer. External clock signal comes from PIN5 and nCSB (active LOW Enable Control Signal) comes from the Connection Matrix Out. For serial to parallel operation (S2P) serial data input (MOSI) comes from PIN6. S2P will produce a 16-bit parallel data output (S2P<15:0>) where the MSB <15:8> can be used by PWM/DCMP0 and PWM/DCMP1 logic cells, while LSB <7:0> can be used by PWM/DCMP2, FSM0, and FSM1 logic cells. For parallel to serial operation (P2S), the 8-bit parallel data in (PAR IN<15:8>) comes from CNT1 logic cell. PIN 6 is used to output the 8-bit serial data output (MISO) signal.
- AN-1016 GreenPAK Macro Circuit Serial to ParallelParallel to Serial.pdf- (330 KB)
- AN-1016(1).gp2- (18 KB)
- AN-1016(2).gp2- (17 KB)
- AN-1016.zip- (297 KB)
Serial, Parallel, External Clock, nCSB, MOSI, MSB, MISO, CAPTURE, Communication Block, Macro Circuit Design