--0003255749cac72582046cf73c31 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, I just received my orders for the following chips from Microchip: dsPIC33 FJ 128 GP 802 (Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/70292C.pdf) PIC32MX 440 F 512 H (USB version) the dsPIC especially seems to be very different and confusing. It has peripheral pin select and all. I tried to read the data sheet, but found quit a bit confusing. Here is the pinout (picture): http://img7.imageshack.us/img7/9437/dspic.png I'm going to interface the MAX233A (datasheet attached) to the dsPIC which is 3.3 V. I plan to use the second ICSP channel to program since the PGED2 and PGEC2 are on 5 V tolerant lines (just in case) (good idea or bad idea or useless idea?). I don't know exactly how the peripheral pin select functions. For example, I would assign the UART1 RX line to a 5V tolerant pin (so that I can interface to the MAX233A). I would then assign the UART1 TX line to any other pin and connect it to the MAX233A. I assume it would work since (according to my interpretation of the datasheet - I could be wrong, please check), the low threshold for a CMOS logic high is 2.4 volts coming into the MAX233A. Assuming this all works, I still don't know how the peripheral pin setting works. Can any (assignable) peripheral be assigned to any pin? Could anyone please provide me with some sample C30 code? Is there anything else I should be aware of before I hit the ground running (with the dsPIC33 & PIC32)? For example, one big problem when I started off with the 8 bit series was that I didn't initialize ANSEL to 0 so it appeared that my chip was malfunctioning. I don't want to go through that again. Any tips like that would be very much appreciated. Any sample code for these (hello world type of thing) would also be greatly appreciated. -- [ solarwind ] -- http://solar-blogg.blogspot.com/ --0003255749cac72582046cf73c31 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Attachment-Id: f_fw9fzvy40 {ed: attachment removed} --0003255749cac72582046cf73c31 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --0003255749cac72582046cf73c31--