EmbeddedRelated.com
The 2024 Embedded Online Conference

uart problem_help

Started by zheng in comp.arch.embedded15 years ago 1 reply

Hi all, I am using dspic30f6010a interfacing pc with rs232. when I use hyperterminal, I can only receive something like <

Hi all, I am using dspic30f6010a interfacing pc with rs232. when I use hyperterminal, I can only receive something like <


Programming dsPIC33FJ32GP302

Started by embcontrol in comp.arch.embedded14 years ago 12 replies

I am trying to program a dsPIC33F chip with a programmer from microchip (ICD3 debugger and programmer), and I am also using the explorer...

I am trying to program a dsPIC33F chip with a programmer from microchip (ICD3 debugger and programmer), and I am also using the explorer 16 development board also sold by microchip. So far, all I have is MPLAB as the development environment but my back ground in assembly language is very weak. I am looking for a C compiler that it's free or reasonable in price to be able to program the dsPIC33...


dsPIC33CH Vs dsPIC33F divide.

Started by Clive Arthur in comp.arch.embedded5 years ago 1 reply

The new dsPIC33CH parts have a 6 cycle divide whereas the older dsPIC33F takes 18 cycles. The number of cycles is not data dependent. So I...

The new dsPIC33CH parts have a 6 cycle divide whereas the older dsPIC33F takes 18 cycles. The number of cycles is not data dependent. So I guess more Silicon for fewer cycles, but used how? Cheers -- Clive


dspic33f

Started by nithyaa in comp.arch.embedded14 years ago

hi can anybody provide me c code examples for flash erase and programming. and tell me whether it is necessary to save the pages or that is...

hi can anybody provide me c code examples for flash erase and programming. and tell me whether it is necessary to save the pages or that is optional. will the below will do? /* Page size array (512 instruction words) */ C_UBYTE Luilow_Page_Array[512]; C_UBYTE Luihigh_Page_Array[512]; C_UINT16 Luipage_Count; /* Save Current page */ C_UINT16 SAV_TBLPA...


regarding DAC in dsPIC33FJ128GP802

Started by bharath reddy sareddy in comp.arch.embedded14 years ago

hi frds im using dsPIC33FJ128GP802 for my application im trying with ADC-DAC loop back as intial step. my ADC is working finely but i have a...

hi frds im using dsPIC33FJ128GP802 for my application im trying with ADC-DAC loop back as intial step. my ADC is working finely but i have a strange problem with DAC.......... intially data register(DAC1RDAT) is loading with default value and then always it is going to zero.............. i have tried with the example given by microchip also.....it is also giving the same problem i m not...


I need Help....Generating a square wave with the dsPIC33FJ256GP710

Started by embcontrol in comp.arch.embedded14 years ago 3 replies

Hello everyone... I just got a explorer 16 board from Microchip. It brings two Plug-In-Modules (PIM), the PIC24FJ128GA010 and the...

Hello everyone... I just got a explorer 16 board from Microchip. It brings two Plug-In-Modules (PIM), the PIC24FJ128GA010 and the dsPIC33FJ256GP710. I also have the debugger/programmer ICD3. I have installed MPLAB C30 in my computer as well. Now that I have everything I need (According to microchip)to start programming, I need some guidance with regard to starting this project. Ba...


dsPIC33FJ32GP302 Configuration Bits

Started by embcontrol in comp.arch.embedded13 years ago 4 replies

Hi, I am trying to program a dsPIC33FJ32GP302 chip with the Pickit 2 programmer and using MPLAB C30 (This chip supports the Pickit 2 as...

Hi, I am trying to program a dsPIC33FJ32GP302 chip with the Pickit 2 programmer and using MPLAB C30 (This chip supports the Pickit 2 as illustrated by the green light on the "select device" window). I managed to put the chip on a board and connected it to the pickit 2. I built a project in MPLAB and the programmer sends power to the target as expected and it recognizes it. I imported th...


PIC MP3 Decoder

Started by bmearns in comp.arch.embedded18 years ago 17 replies

I'm looking for code for any of Microchip's dsPICs that will decode an MP3 file stream into PCM data. C is preferable, but asm will work...

I'm looking for code for any of Microchip's dsPICs that will decode an MP3 file stream into PCM data. C is preferable, but asm will work fine, as well. Does anyone have any leads on this? Thanks.


convert 16 bit port to Char

Started by Thomas Magma in comp.arch.embedded16 years ago 13 replies

Hello, I'm programming in C on a dsPIC33F and I'm trying to find the most efficient way to save a 8-bit signed value found on the LSByte of...

Hello, I'm programming in C on a dsPIC33F and I'm trying to find the most efficient way to save a 8-bit signed value found on the LSByte of PORTD to a CHAR. That is, the lower byte of PORTD contains a signed integer that is 8-bits wide and I need to save it to a CHAR data type. I don't care what is on the upper byte of PORTD. What would be the most efficient way to do this? Thanks...


dsPIC33 GPIO DMA

Started by Thomas Magma in comp.arch.embedded15 years ago 6 replies

Is it possible to hook up a 16 bit parallel ADC to the GPIO pins on a dsPIC33 and have it stream into the DMA RAM? Thanks, Thomas

Is it possible to hook up a 16 bit parallel ADC to the GPIO pins on a dsPIC33 and have it stream into the DMA RAM? Thanks, Thomas


Audio with AT91SAM7

Started by valdiorn in comp.arch.embedded14 years ago 3 replies

I've been looking for a capable chip to do audio processing. I'm a hobbyist but I'm looking for something I could develop on and then take to...

I've been looking for a capable chip to do audio processing. I'm a hobbyist but I'm looking for something I could develop on and then take to (very) small scale production, it would serve as the FX processor in an audio amp. Mainly the dsPIC33 FJ128GP802 got my attention because it has a 16bit audio DAC on board. I would however like more RAM and even more processing power so I was looking at ...


UART interfacing pc and pic problem

Started by zheng in comp.arch.embedded15 years ago 3 replies

Hi all, I am using dspic30f6010a interfacing pc with rs232. when I use hyperterminal, I can only receive something like <

Hi all, I am using dspic30f6010a interfacing pc with rs232. when I use hyperterminal, I can only receive something like <


generation of sine wave using pwm module of dspic30f6010

Started by bg in comp.arch.embedded19 years ago 3 replies

hi all, i have a dspic30f6010.i would like to generate a sine wave with this for an ac induction motor.i would like to know whether there is...

hi all, i have a dspic30f6010.i would like to generate a sine wave with this for an ac induction motor.i would like to know whether there is any method for controlling the amplitude of sine wave. and also details abt the c code for generation of sine wave using dspic30f6010.


dsPIC30F6003 CAN Interface

Started by Nagaraj L in comp.arch.embedded20 years ago 2 replies

I am working on device marked dsPIC30F6003. I am facing some problem during CAN interface. 1. I am getting linker problem if I access...

I am working on device marked dsPIC30F6003. I am facing some problem during CAN interface. 1. I am getting linker problem if I access C1TX0DLC, C1RX0DLC registers. 2. If I send a message from CAN test tool, dsPIC30F6003 sends ACK even if the standard identifier is different. I checked for Mask bits and the configuration settings are all bits will be checked. 3. After ACK is sent, no stand...


Most powerful DIP microcontroller

Started by Joseph H Allen in comp.arch.embedded16 years ago 11 replies

So what's the most powerful microcontroller you can get in a DIP package? So far I think it's these: PIC24FJ64GA002-I/SP (most RAM) 28-pin...

So what's the most powerful microcontroller you can get in a DIP package? So far I think it's these: PIC24FJ64GA002-I/SP (most RAM) 28-pin DIP 8K RAM ! 64K Flash 16 MIPS 2 UARTS, 5 Timers, 10-bit ADC, RTCC dsPIC30F4013-30I/P (fastest) 40-pin DIP 2K RAM 48K Flash 30 MIPS ! 12-bit ADC, DSP, 2 UARTS, 5 Timers What else is out there? Is there anything better? ...


Change the built in demo PIC

Started by tarek.attia in comp.arch.embedded16 years ago 1 reply

Colleagues, i do have a dspic30f4012 and i downloaded FREERTOS demo application V5.0 and when i change the pic33 to dspic30f4012 errors appear...

Colleagues, i do have a dspic30f4012 and i downloaded FREERTOS demo application V5.0 and when i change the pic33 to dspic30f4012 errors appear ,i changed the include in the freertosconfig.h , changed the linker script but still have problems in compiling?? please wht should i do


Multiple ADC using dspic30f3010

Started by angeline in comp.arch.embedded16 years ago 1 reply

I have written a code to do multiple ADC conversion using dspic30f3010. I am trying to test whether it works . but it seems like not doing what...

I have written a code to do multiple ADC conversion using dspic30f3010. I am trying to test whether it works . but it seems like not doing what I want . I wonder is it I have wrote it something wrong . I set this code to sample from AN2 and AN3 as my analogue input. And, I test it on two LED's . where if it's above this voltage then the LED will light up. Further to this , I need to use t...


dsPIC serial number

Started by Syd Rumpo in comp.arch.embedded8 years ago 15 replies

Hi I want to put a serial number into a dsPIC - there's four bytes of user space in the flash which would be ideal. Is there any...

Hi I want to put a serial number into a dsPIC - there's four bytes of user space in the flash which would be ideal. Is there any reasonably easy way of stopping this from being changed when new software is programmed using a PicKit programmer? I know I could read it and re-write it, but I want something which moderately tech-savvy customers can do. Cheers -- Syd


dsPIC problem

Started by Syd Rumpo in comp.arch.embedded13 years ago 12 replies

Hello I have an odd problem with some dsPIC code. I'm using MPLAB and a dsPIC Starter Kit 1. I have some C code calling an assembler...

Hello I have an odd problem with some dsPIC code. I'm using MPLAB and a dsPIC Starter Kit 1. I have some C code calling an assembler routine - in fact the Microchip FFT stuff. It doesn't work and causes the processor to hang or reset or go off on a jaunt - not sure which. I have three LEDs which the C code turns on if/when the assembler routine returns. If I put the appropriat...


PIC with wifi module

Started by que63 in comp.arch.embedded13 years ago 6 replies

I am looking for suggestions on which PIC MCU to use with MRF24WB0MA (wifi transceiver module which is compatible with PC18/24/32 and dsPIC)....I...

I am looking for suggestions on which PIC MCU to use with MRF24WB0MA (wifi transceiver module which is compatible with PC18/24/32 and dsPIC)....I want to send messages (80 chars) from my PC to this MCU through wifi and display it on a 20 by 4 LCD. I plan to make my whole module to be battery powered and I found out that the PIC18F1220 supports this requirement. The problem comes in connecting ...



The 2024 Embedded Online Conference