Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Yes i am testing it in real time h/w...am using 24mhz crystal module..
and in protiuos serial clock dosnt matter
yes i selected hs ocilator ...and crystal clock is working fine on h/w
master slave select is connected with slave chip select..in my cct..if master selects the slave it stars readind data by spi1_read()...
and as for usart is concern its not the problem right now
- - - Updated - - -
i have tested both by SPI_init() and directly by putting values in...
thanks internetuser2k12 ..
my problem area is in serial clock that is not generated by MCU..
can you figure out the possible problem..any configuration etc mistak
- - - Updated - - -
thanks internetuser2k12 ..
my problem area is in serial clock that is not generated by MCU..
can you...
hi internetuser2k12 thanks for reply
TRIS for SPI master and slave are right below from where main function starts(TRISC = ox9B)..and am using mikro c pro and these are the library funtions(spi1_read etc).
yes i simulated it in protus working fine the but not on breadbord.. real time i think...
am using master slave concept..
4 pins on both sides (SDI SDO SS SCK)
am using mikro c pro compiler
> i think there is problem of clock that is not generating properly..am using 24MHZ crystal
>no data is received at either end
please help.
master
sbit Chip_Select at RE2_bit...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.