Hello Daixiwen, thanks for your help, but my SPI module is configurated as slave, how can i test my SPI module if it is a slave??, Could you send me some example code?? thanks in advance, sorry if i am not clear, im an ecuadorian student, i speak spanish but i know some english :-), im doing a SPI analyzer, it is my graduation proyect, and until know i have my machine in qsys, now i want to test my modules created, i´m going to need a uart module, and with a code similar to the code that i told you in the post, i tested it and it worked, but with my spi slave dont :-(, im new in altera forums, help me wwith this pease. thanks again