Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by Drugo

  1. D

    [PIC] Microchip AN1249 CAN bus on dsPIC33F: CAN ISR does not get activated

    Thanks again horace1, I appreciate your help! Before answering to your questions, I would like to specify that I already have both hw and fw with CAN implemented and working (not from me), but it's not well implemented so I want to change it because of some limits it has. So that I didn't use...
  2. D

    [PIC] Microchip AN1249 CAN bus on dsPIC33F: CAN ISR does not get activated

    Thanks for your reply horace1. Yes, I monitored the CAN bus with a (different) CAN analyzer, but I don't see any message. And I don't see any message, in my opinion, because the CAN TX interrupt request is not triggered. Well, it could not be triggered also for the fact that the receiver is not...
  3. D

    [PIC] Microchip AN1249 CAN bus on dsPIC33F: CAN ISR does not get activated

    Sorry, in my post I made a mistake in attaching the code. I attached it to this post Thanks a lot
  4. D

    [PIC] Microchip AN1249 CAN bus on dsPIC33F: CAN ISR does not get activated

    Hello community, I'm having an issue implementing in order to implement CAN bus with DMA and ECAN on dsPIC33F. It's driving me crazy! :bang::bang::bang: I have to deliver my CAN bus driver in 3 days and am really in trouble. :fight: The issue is related to the ISR routine, that never gets...
  5. D

    [SOLVED] DS18B20 temperature correct reading only in debug mode, not with production firmware

    I got the final answer from the Microchip forum and want to post it for completeness. I am using AN5/IC8/CN7/RB5 pin to receive the digital data from the Dallas DS18B20 temperature sensor. In the inherited code I'm working on this pin was used as an analog one because the previous temperature...
  6. D

    [SOLVED] DS18B20 temperature correct reading only in debug mode, not with production firmware

    Hello, I am experiencing a weird behavior with temperature readings from a DS18B20 Dallas temperature sensor. I am using a dsPIC33, ICD3 for debugging/downloading the firmware, XC16 compiler and I display the temperature on the console through serial port. The problem is that I perfectly read...
  7. D

    sscanf crashes trying to read multiple 8-bit char numbers in a row

    Hi krazyfencer, Many thanks for your reply, I found your solution without sscanf very good and also very elegant in term of code styling. To tell you the truth I never used strtok function before but, reading your code and some further documentation (necessary because, at the first reading...
  8. D

    sscanf crashes trying to read multiple 8-bit char numbers in a row

    Sorry for the late reply, but I'm overloaded of work and have the deadline this week. To krazyfencer I'm super-sorry again for the further copy and paste mistake. In the code I pasted on my previous post I actually wanted to write (and this is what I tested): // 99 init values just for...
  9. D

    sscanf crashes trying to read multiple 8-bit char numbers in a row

    Because the code example A) mentioned above provides the correct value to theChar1, I tried to run this example. Here I try to go around the issue getting the value of theChar1-3 executing three different sscanf instructions. You can read the result in capital among the comments. // 99 init...
  10. D

    sscanf crashes trying to read multiple 8-bit char numbers in a row

    To ALL, Thanks SO MUCH for your replies, I really appreciate it. BUT, AS I SPECIFIED ABOVE IN RED IN THE POST, I MADE A "TERRIBLE" COPY AND PASTE MISTAKE IN MY CODE (in all cases, A, B and C). I CORRECTED IT IN MY ORIGINAL MESSAGE. NOW, IN THE ORIGINAL POST, YOU CAN SEE THE RIGHT CODE EXAMPLES...
  11. D

    sscanf crashes trying to read multiple 8-bit char numbers in a row

    I'm using a Microchip C30 compiler on dsPIC33F family and struggling A LOT with sscanf() function. Please please please help me because my project is getting stuck for this little detail. I really hope that someone can help me, I haven't found anything on internet and I spent the last 2 days on...
  12. D

    [SOLVED] PIC32MX - UART TX interrupt ISR activation problem

    Hello everyone, after having read the PIC32MX UART and interrupt documentation I can't fix the problem and I'm stuck with my project. That is, how to mange the TX Interrut Service Routine using PIC32MX795F512L. In the sense that, once I configure UART2 to generate interrupt after data...
  13. D

    [SOLVED] PIC32MX795F512L on Explorer 16 demo board: use of UART through multiplexers

    Hi horace1, I finally found the solution using the oscilloscope. I feel ashamed admitting my mistake, but two solderings of the two "incriminated UARTs" were weak, so the signal didn't pass through them. But checking the wire connection with the multimeter it was ok because of the small pressure...
  14. D

    [SOLVED] PIC32MX795F512L on Explorer 16 demo board: use of UART through multiplexers

    Hi horace1, I tried your software and it's still not working. Therefore I'm sure it's a hardware problem. I'm going to test it better on Sunday with the oscilloscope. Thanks a lot for all your collaboration
  15. D

    [SOLVED] PIC32MX795F512L on Explorer 16 demo board: use of UART through multiplexers

    many many thanks again, tomorrow I'm going to try your code on my system. I want to be sure 100% that the problem is not in my software. I'll let you know

Part and Inventory Search

Back
Top