Hi every body I have a problem with AT91SAM7X256 SSC. I want to point to multipoint communication link between some microcontrollers using SSC. I have used AT91SAM7X256 in the slave part.
I want the receiver start receiving based on a pattern on RSHR and its working ok.
*AT91C_SSC_RCMR =3D AT91C_SSC_CKS_RK | AT91C_SSC_CKO_NONE | AT91C_SSC_STTDLY | AT91C_SSC_STOP | AT91C_SSC_START_0 | AT91C_SSC_PERIOD ; *AT91C_SSC_RFMR =3D AT91C_SSC_DATNB | AT91C_SSC_DATLEN | AT91C_SSC_FSLEN | AT91C_SSC_FSOS_NONE ;I want the transmitter to start as the receiver start but the receiver doesn=92t trigger the transmitter.
*AT91C_SSC_TCMR =3D AT91C_SSC_CKS_SEND_RK | AT91C_SSC_CKO_NONE | AT91C_SSC_STTDLY | AT91C_SSC_STOP | AT91C_SSC_START_RX | AT91C_SSC_PERIOD; *AT91C_SSC_TFMR =3D AT91C_SSC_DATNB | AT91C_SSC_DATLEN | AT91C_SSC_FSLEN | AT91C_SSC_FSOS_NONE | AT91C_SSC_DATDEF ;When I change the start event AT91C_SSC_START_RX to AT91C_SSC_START_FALL_RF it starts working (but it=92s not the desired event that I want).
*AT91C_SSC_TCMR =3D AT91C_SSC_CKS_SEND_RK | AT91C_SSC_CKO_NONE | AT91C_SSC_STTDLY | AT91C_SSC_STOP | AT91C_SSC_START_FALL_RF | AT91C_SSC_PERIOD; *AT91C_SSC_TFMR =3D AT91C_SSC_DATNB | AT91C_SSC_DATLEN | AT91C_SSC_FSLEN | AT91C_SSC_FSOS_NONE | AT91C_SSC_DATDEF ;So it seems that the problem is relating to AT91C_SSC_START_RX the AT91C_SSC_START_RX event. Does anyone have experienced this problem or have any idea to come over this problem. Best regards