Just another weblog about technologies. Electronics, MCU’s, programming, useful links.
-
Recent Posts
- PIC32MX220 USB project demo code
- PIC32MX220 demo board Gerber files
- PIC32MX220 demo project – delay using the 32-bit Core Timer
- PIC32MX220F032B demo code – input change notification interrupt
- Second PIC32MX220F032B demo code – how to read input from push button
- First PIC32MX220F032B demo code – flashing an LED
- Self-made development board for the 32-bit PIC32MX220F032B Microcontroller
- Microchip Introduces Smallest, Lowest-Cost PIC32 Microcontrollers
- Wireless data transmission between two PIC microcontrollers using low-cost RF modules
- Low cost temperature data logger using PIC and Processing
Categories
- Electric car history (1)
- Links (1)
- MCU – Development kits (4)
- MCU – LCD (1)
- MCU – Market news (2)
- MCU – Measurement (3)
- MCU – Play sound (3)
- MCU – Programming (1)
- MCU – Projects (4)
- MCU – RS232 communication (1)
- MCU – USB communication (4)
- MCU – Wireless communication (1)
- PIC32 projects (6)
- Uncategorized (1)
Tags
Meta
would you share your gerber files for the PIC32MX220 Development board
its just what i need to start hacking my project
thanks!
mitch
Hi,
I’m developing a project with “PIC32MX220 USB project demo code”, but the PC (windows vista) does not recognize my pic.
What driver did you use? How do I apply?
Thanks
Hello, this USB project (for PIC32MX220) is based on HID driver, so Windows should recognize it. But there is another problem – USB library from Microchip is developed for PIC32MX3xx – PIC32MX7xx MCU’s. They differs from PIC32MX2xx in some registers so this my project runs only in “polling method”. For “interupt method” you should make some changes in USB library – please seach info about this problem in Microchip’s forums.
However this posted project I tested on my demo board and PC with Windows 7 – it worked.
Best Regards,
Hi,
Thanks for your sample code.
I was trying to enable the input change notification interrupt on a PIC32MX230 without success until I found your code example and discovered the culprit was simply the buggy pic32 library…
Best regards.
Hello,
As I’m trying to get a PIC32MX220 to work I foud this blog. Interesting information! I do have one question about hte Change Notification function. In your example you only have one pin enabled for the CN function. I ‘d like to use more. Did you try to use the CNSTATx register? I ‘d like to know which pin caused the intterrupt. According to the datasheet I’d use this register. But when using the debugger none of the bits are set…
BR
Hello Maarten,
I can’t answer your question exactly because I didn’t test CNSTATx register. Maybe you should after interupt first save value of the register to temp,e.g. temp = СNSTATA, and then work with this temporal variable?