Questions tagged [microchip]

Questions related to the microchip PIC family of microcontrollers. Where possible please specify the specific microcontroller.

Questions related to the microchip PIC family of microcontrollers. Where possible please specify the specific microcontroller.

696 questions
-1
votes
1 answer

Calling function of mpusbapi dll file in python

I am using python to develop GUI which will communicate with PIC24 board through USB. For that i am using mpusbapi dll file, provided by Microchip. How can i call function in python of mpusbapi dll ? Here are the functions in mpusbapi.h file DWORD…
-1
votes
1 answer

Compare multiple bytes

I'm receiving bytes from the USART and put them in the memory register. The bytes are the commands I have to read and reply with messages accordingly. As I know how to compare a single byte, would suggest me an algorithm to compare multiple…
georgiar
  • 379
  • 3
  • 7
-2
votes
2 answers

I am new to FPGA design, When I finished my design,How could I make my design became a real chip?

I am new to FPGA design, When I finished my design, How could I make my design became a real chip?
-2
votes
1 answer

How to make function for save and replay tones on Arduino buzzer?

i have a question about my project in Arduino, i have this array of frequencies for notes: int note[] = {261, 293, 329, 349, 392, 440, 494, 523}; and this function for play notes if one of pushbuttons is pressed: void play(float U_ADC0){ …
-2
votes
1 answer

String functions and extern variables are not working properly in MPLAB X IDE for PIC Microcontroller Program

If I create new project and I call this string predefined function or extern variables all works fine. But when I continuously modified or did some operation with those string function or variables then those functions are not working properly and…
Nancy
  • 1
  • 2
-2
votes
1 answer

how use ADPCM microchips

I have some problems with adpcm in .wav (sound)files. at first of this question, I should say that I didn't read all things about ADPCM , just wanted to implement that fast and work on it ... (just training code) I implemented it from MicroChip's…
H.M
  • 425
  • 2
  • 16
-2
votes
1 answer

how do i connect my custom button board to pc via usb?

Goal/Challenge: i have a challenge to create a custom controller without using special controllers e.g. raspberry pi or Arduino. What i have done so far: I have created a custom board that takes power from the red wire and outputs power via the…
Yolo Gamer
  • 53
  • 1
  • 1
  • 5
-2
votes
1 answer

Arduino compatible chip wthout need of crystal for serial communication

I am asking this well ahead of applying it to get myself a chance to study content of answers. Basically the question is if there is Arduino compatible chip (I am not interested in boards) which does not need external crystal to keep it in close…
Tomas
  • 111
  • 7
-2
votes
1 answer

PIC18 Signal Measurement Timer SMT1 (Counter Mode) Not Incrementing

I'm trying to use SMT1 on a PIC18F45K42 to count cycles of a square wave on pin RB0. I can't get the counter to increment, not sure what I'm doing wrong. If I understand correctly, SMT1TMR should be incrementing but it's not. (I also checked…
kjav
  • 93
  • 1
  • 7
-2
votes
1 answer

PIC programing Interrupt malfunction.

I'm new to PIC programming and I'm using MPLAb. I have a question regarding interrupt.. so What I want to do, when I push a button then I want to turn on LED 0, and if I release the button then turn on LED 1. I thought the code I wrote making sense…
-2
votes
1 answer

EK-TM4C1294XL uart speed support

I am starting a project as part of my Electrical engineering b.sc I try to find if the following Evolution kit support UART with the following speeds: 600, 1200, 3400, 4800, 9600, 14400, 19200, 28800, 38400, 56000, 57600, 115200, 128000, 256000,…
MrLevy
  • 5
  • 4
-2
votes
1 answer

LCD 4 bits mode

I have read in this website: http://www.engineersgarage.com/embedded/avr-microcontroller-projects/interface-lcd-4bit-mode-circuit that when I need to send a command in 4 bits I have first to send a function set command which states 4 bits mode 2…
user3674628
  • 29
  • 12
-3
votes
1 answer

P18F4420 Switch case statement in PIC assembly language

Im using a PIC18 on Mplab IDE in Assembly language where I have four LEDs. 2 LEDs tell me the status #1 and the 2 other LEDs the status #2. Finally, I have 2 more output LEDs to tell me the status of these 4 LEDs based on their status. This can be…
Citi
  • 47
  • 6
-3
votes
1 answer

Putting my raspberry pi program on a more primitive chip

I recently started coding on a raspberry pi. I build a circuit with three buttons, an LED and a 7 digit LCD. Its a fairly simply thing. You can set a time value with the + and - button in seconds and then press the other one to start a countdown. I…
Arjihad
  • 117
  • 7
-3
votes
1 answer

How to turn on rgb leds connected to PT6965 LED controller using Pic32?

I have interfaced the PT6965 led controller with Pic32 over SPI using microchip harmony. My problem is I am unable to understand what data/ commands to write to led controller using spi that will turn on the 3 rgb leds connected to the led…
abdullah
  • 65
  • 10
1 2 3
46
47