pic18f458 -> pic18f4620

ciao a tutti!

Sto tentando di migrare dal pic18f458 al pic18f4620 Il firmware manda/riceve dati da un pc tramite seriale. Sul 18f458 tutto funziona mentre sul 18f4620 riesco a mandare i dati ma non riesco a riceverli (la ricezione è gestita ad interrupt). E' come se l' INT_RDA fosse disattivato e la relativa ISR quindi non viene chiamata. Ho usato queste 2 istruzioni:

enable_interrupts(GLOBAL); enable_interrupts(INT_RDA);

così sul pic18f458 andava tutto bene!

Mi sapete dare una mano? Grazie in anticipo!

Reply to
ice
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.