ivp wrote: > I have a dsPIC33FJ64GP802 application where I need the SPI buss > for an SD card. For whatever reason I can't see SPI activity. Being > so far quite unfamiliar with the dsPIC firmware I don't know whether > I've got something missing in either the remapping or the SPI module Note that the pin mapping hardware can be set up to allow mapping only once or many times. Make sure it's not set to the once mode and that some other module is pin mapping previously. I didn't look it up, but your line > config __FOSC,IOL1WAY_ON ;one-time IOLOCK disabled looks a little suspicious. The symbol name implies on, but the comment say= s off. > do_spi: mov #0x5555,w0 > mov w0,SPI1BUF > lcd_pos #0x0a > displ #'*' > call delaypt5 > lcd_pos #0x0a > displ #0x20 > call delaypt5 > bra do_spi I don't know what DELAYPT5 does, but it's not obvious anything is waiting for the SPI hardware to be ready before writing to SPI1BUF. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .