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.
Hi every one. I am working on Instrument Cluster which uses MC9s12xhy128 and the firmware is created by codewarrior IDE. i have enabled the WDT and i want to freeze some variables (like pointer position of panels) if WDT resets the micro-controller. any suggestion ?
Hi every one. I have typical structure (ECU_t) which has members that considered to be pointer to struct.
i make my question in c code comments. please help me. by the way i have used freescale code warrior as compiler.
typedef enum
{
NORMAL,
WARNING,
}WATER_TEMP;
typedef struct
{...
Hi.
I am beginner in dlms protocol. i want to communicate with HXF300 electrical meter. I perform application association successfully but i have problem in getting objects:
I have sent the following hex frame for reading clock:
// 7e a0 19 03 21 32 6f d8 e6 e6 00 c0 01 81 00 08 00 00 01 00 00...
we have made a board (using LPC1788) as a mini-computer which performs controlling and monitoring in our projects. I perform c coding with Keil u-vision for making firmware. two tasks should be done : task 1:we should show clock time (hour : minute) in top-left corner of display. So we use...
Hi friends. we have made a board (using LPC1788) as a mini-computer which performs controlling and monitoring in our projects.
we want to show clock time (hour : minute) in top-left corner of display. So we use thread function (using CMSIS thread function) with low priority. thread function...
am I right?
baud rate is 9600 bps so the time equals 10.42 ms. the packet frame contains 10 bits so we should wait for 105 ms and after that we can say the end of packet is detected if there is no new packet in RX.
another question: can I use delay functions instead of timers?
Hi every body, I'm working on AVR program (using Atmega128) that communicates with PC based on rs232. the communicated data stream has an arbitrary length. there is no any information about data length in content of data packets. how can I detect the data stream length?
as you know we can...
Hi every body,
I have performed a non standard protocol for communications between RTU and MTU. It does the duties properly. but I want to transfer the MTU duties to computer and perform the monitoring using software like winCC or Citect SCADA . so I need to present the arbitrary protocol for...
I know that. but in DNP3 protocol the master must be able to handle link and it is not limited to data read and data write. for example suppose that slave wants to send response of previous master's req but it is not permitted because master makes the link inaccessible for slave. how it can be...
two computers communicate with each other using DNP3 protocol based on rs232. the PC#1 acts as master and it handles data communications with citect scada. PC#2 acts as slave and it performs data communication and analysis using C++ console which is created by visual studio.
problem:I want to do...
Hi
as you know if we use getchar() function it waits for typing char by keyboard.
in my requirement the compiler must return to code and perform the next command line if there is no character typed with keyboard.
so after specified delay time the subsequent command must be performed if if there...
thanks for response
but the length of crc must be 16 bit. the polynomial value is constant number :0x13D65. there are several methods for performing crc calculation. I must do it based on indicated method.
the message is divided by polynomial using modulo-2 division. the crc is obtained from...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.