Hello.I got some problems with PWM on my dsPIC33EP32GS502 (package SO28) board.After upload code to device (using PICkit3) I can see PWM on oscilloscope, both PWM1H and PWM1L (complementary, center-aligned mode as desired). But after disconnecting PICkit3..
↧
dsPIC33EP32GS502, strange PWM behavior (abel11)
↧
CAN messages with different message IDs (uc1)
Hi, I am using to use DM330018 demo board to learn the CAN message receiving. I am only playing the CAN receiving part for this demo board, and current I am able to receive CAN messages generating from CAN bus analyzer. Now I am trying to have this demo b..
↧
↧
[ Solved] PWM interrupt update problem (namdinh93)
Dear everyone, I got problem with PWM interrupt using dspic33ep64gs502 Here is my code of interrupt: PTPEP = 1000;unsigned int i = 0;void __attribute__((interrupt, no_auto_psv)) _PWM2Interrupt() {
if (i == 0) {
PDC2 = 1;
}else if (0 < i || i <= 5) {
P..
↧
Learning DMCI with pic33 and EX16 board (gatocap)
MPLAB 3.35, XC16 1.26, RealTerm 2.0.0.70,CE155 I am learning RTDM and DMCI with a p33FJ32GP204 PIM and EX16 board. I would like to have theability to adjust my PID gains during runtime. I have been able to use the sanity check example inthe RTDM guide by ..
↧
dsPIC33EP32MC502 PWM Not Starting (cinetron)
I am using Code Configurator to set up PWM on this PIC but can't seem to get an output. I am using Microstick2 as my base. Below is the code for my Oscillator and PWM initialization. I have looked hard but cannot find anything wrong in the code. Any thoug..
↧
↧
dspic33E trap errors (Shishi)
Hello everyonei am using dspic33Ep, my pic is stack in mathError trap,and sometiems StackError, i put the getErrloc() to find the address that the stack happen but i could not undrestand how can calculte to find my exact address,this is my code:
..
↧
Using the RTDM CE155 on a 20 pin PIC 33 (dsPIC33FJ12MC201) (T Yorky)
Hi,
I am finishing off a SMPS project on a PIC33 with limited resources 12K Flash 1K ram. The standard debugging aid (RS232 terminal arrangement) that I use wouldn't fit in the memory with the application, so I decided to give the DMCI a try (CE155). Dow..
↧
dspic33fj256gp506 uart (abradley9xx)
I'm using uart2 on the dspic33fj256gp506 and my transmitted data is always wrong, unless I send like 0x55. pic connects to pc via max3232. Timing and levels on scope look good, comparing to what comes out of pc at same bps. Pulses don't match. Using uart...
↧
dsPIC33EP PWM Duty Cycle Update Problem with Timer Interrupt (karan123)
Hello, I am using dSPIC3EP32MC202 28-Pin SOIC Package. I am able to generate PWM on all 3 Channels with respective code.But When I am trying to update Timer Interrupt in 625us apporx. (32 (Value from Sin Table) * 625.068119891 us = 20ms .The PWM goes craz..
↧
↧
Using PGA + ADC Core + Oversampling with DSPIC33EP128GS8xx (detube78)
Hi,Has someone else ever tried to use PGA module connected with ADC Core? I would like to set the ADC CORE with oversampling but I have not found any information to oversampling PGAx input. Can anyone help me? Thanks a lot! detube78..
↧
dsPIC33Ep512, MAX 31865 communication via SPI (Behnammm)
Thank you qɥb for your respond.What I mean by CS is 16 is that CS pic in on pin number 16 and I don't see it's address in register addresses table.For example, in a sample program between to PIC, the header is like: #define CS 0x08 and now I am not quite ..
↧
Does explore 16/32 devlopment board supports dsPIC33EP512MU814. (MayurP)
HI guys, Thanks for reading my post I am new to the 16-bit microcontroller and I am using dsPIC33EP512MU814 16Bit & 144PIN controller. does the explore 16/32 development supports the pic which I am using, I am asking this because I read explore DB sup..
↧
Where can I find the Lock-In amplifier code example referenced in AN1115 (abradley9xx)
Where can I find the Lock-In amplifier code example referenced in AN1115?
Thanks..
↧
↧
How do we know if a pin is locked or not? (Bernie)
Hi, I have connected pin#19 (RE9/RPI89/AN21) on my dsPIC33 to the pin#8 (INT) on my expander (I2C MCP23017).I attempted to read (with oscilloscope)the interrupt on the pin#8 (MCP23017) many times but each time I could only see the interrupt occurs only on..
↧
Help with CE147 PIC33EP Aux Flash Bootloader on dsPIC33EP256MC506 (zachlee)
Hello all, I recently designed a product using the pic33ep512mu810 and found the Code Example CE147. Luckily, the controller I chose was used in the example, and I was able to modify the code to meet my requirements for the bootloader. Now I plan to use a..
↧
Source of input capture errors? (TRP)
Using dspic33EV256GM102....I am using input capture to determine the frequency of a 500Hz to 15000kHz signal, doing a lookup and some processing, then outputting the resultant frequency via PWM by updating PHASE and PDC. At this point the output should ju..
↧
dsPIC33EP256MU806 - Spurious calling of CAN ISR ? (arigead)
Thought I'd posted this question earlier today but I must have made a mistake posting it. I've got a problem with the CAN ISR being called constantly when there is no interrupt condition. Whan I mean by that is that the ISR is called but the CAN Interrupt..
↧
↧
Possible oscillator issue and target halted (danbakana)
Hello everybody, I'm using a dsPIC33EP64MC202, a MPLAB ICD3 to debug and MPLABX IDE v4.05. My code was functioning everything ok, for months, but, suddenly it sopped working. I tried to debug it and I noticed that it stops running inthe middle of ocsilato..
↧
dsPic33 - could it drive two power topologies at what frequency? (j2423)
Am looking at a power management problem: 19.5v in, 12v SLA battery to charge and maintain, 24v system to deliver. Probably going for an analogue approach with an LT3652 buck for the battery & a LM5122 to boost (either the 19.5Vin OR the 12Vbat) to 24..
↧
dsPIC33E(256MC506) Debugging problem: DMA association and ECAN mode (DrHappyfeet)
Hello fellow forum members!I'm running into two problems when I (try to) run my ECAN Code. First off: when I enable my DMA chanel after configuring it for CAN (DMA0CONbits.CHEN = 1) and the program leaves the function (CAN_DMA0_TX_Config(void)), the Simul..
↧