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 Hayee

  1. H

    PWM module of PIC18f46k22

    Hi I am using CCP Module of PIC18f46k22 to generate PWM signal on CCP2 (Pin no 16) . All is working well if i load values only in CCPR2L register in run time and load the value in CCP2CON at starting of program. but when I try to change the value of CCP2CON while running then there is no PWM on...
  2. H

    Trying to read dipswitch through SPI to LCD

    where you are storing the response from MC23S08 IC? Try to do it like that and print it on LCD, what you receive from MC23S08
  3. H

    Display enable vs Data Enable in LCD

    I think LCDDISP is used to Enable and Disable the Display of your LCD while LCDDEN is used when you want to update LCD content (data) .
  4. H

    [SOLVED] SPI Communication using Interrupt

    Thanks @KlausST @FvM @Aussie Susan You are right before sending the command from Master I have to load the response in Slave. I have done like that and it is working now.
  5. H

    [SOLVED] SPI Communication using Interrupt

    73 belongs to Char I, 72 belongs to char H The pattern have to be like this ----- dummy value (10), then H, then I But I am receiving like this ----- I, then dummy value (10) and then H I am not getting this what mistake I have made.
  6. H

    [SOLVED] SPI Communication using Interrupt

    https://deepbluembedded.com/spi-tutorial-with-pic-microcontrollers/ https://www.microchip.com/en-us/product/pic18f46k22#document-table from here you can find out the datasheet. I tried to make a program as follows First Master send RESET_POSITION command (RESET_POSITION = 1, when slave...
  7. H

    [SOLVED] SPI Communication using Interrupt

    Yes I read some articles about SPI. I tried polling based communication and in that Master every time send data to slave in order to receive all the bytes. Now I was implementing the interrupt routine. Clear me 2 things 1- when Master sends data then Clock signal also be generated. right? Not...
  8. H

    [SOLVED] SPI Communication using Interrupt

    Hi Guys I am using two PIC18f46K22 microcontrollers with MPLAB XC8 IDE. I write a code in which Master sends 1 byte and in return I am receiving 1 byte and display it on LCD. It is working fine. I am receiving from slave letter "H" and displaying it on LCD as the following image shows. Now I...
  9. H

    [MOVED] Certifications

    Hi I want to do some certifications related to embedded systems like RTOS, IoT, USB etc. Kindly tell me some platforms from where I can do these. I am doing some courses from Udemy, Can I add these certificates from this website to my resume?
  10. H

    Printing issue with standart printf function

    Hi I am going to print some values using usart port. I am using pic18f46k22 microcontroller along with mplab XC8 compiler. This micorcontroller have two usart ports. normally the microcontroller which have only one usart port, we can print like printf("%u",value); and we don't have to define...
  11. H

    Casing Patterns

    Hi Guys I am not sure if it is the right forum to ask this question or not but I want to know that what this pattern is called? Its the inside of casing. Why we use these patterns and if required then are there any rules or calculations involved?
  12. H

    Interrupt priorities

    working now. actually i haven't set this bit Thanks.
  13. H

    Interrupt priorities

    Hi I am working on interrupts and without settings the priorities of interrupts the code is working fine. following is the code without defining priority of TIMER3 interrupt. void __interrupt() ISR(void){ //===Timer3 Interrupt Routine============================================// /*...
  14. H

    PIC18f46k22 ADC issue

    Hi I am using pic18f46k22 and using ADC module of it. Was reading the registers required for setup and stuck on one register. ADCON1 bit 7 says its TRIGSEL bit TRIGSEL: Special Trigger Select bit 1 = Selects the special trigger from CTMU 0 = Selects the special trigger from CCP5 is it...
  15. H

    Polling based USART communication

    HI guys I am doing USART communication between two microcontrollers, one is PIC18f46k22 and other is PIC16f883. PIC18F46K22 is running on internal oscillator with system clock of 16Mhz. USART communication uses Asynchronous Mode with Baud Rate of 9600. PIC16F883 is running on internal oscillator...

Part and Inventory Search

Back
Top