Tool/software: Code Composer Studio
Hi all,
I'm working with EVM430F6736 controller board. I want to communicate the data from this board to arduino due using UART. For transmitting the data from energy meter board to arduino due is working fine. In receiver side of energy meter board doesn't get the data from arduino due. I confirmed that arduino due send the data to energy meter board.
Check the EUSCI_A0 serial port configuration,
port configuration : 1.2 UART rx0, 1.3 UART tx0
P1DIR = BIT3;
P1SEL = BIT2 | BIT3;
P1OUT = 0;
UART settings :
UCA0CTL1 = UCSWRST | UCSSEL_2; // SMCLK : 24MHz clock frequency , baud rate : 9600
UCA0CTL0 = 0; // 8 bit data, no parity, 1 stop bit
Baud rate generation setting for baud rate : 9600, 24MHz clock
UCA0BRW = 0xA3D;
UCA0MCTLW = 0x5500;
UCA0CTLW1 =0x0003; /*receiver Glitch Suppression(time 70 to 200ns)*/
UCA0TXBUF = 0;
UCA0CTL1 &= ~UCSWRST;
UCA0IE |= UCRXIE;
I have the problem in receiver interrupt. I am not getting any receiver interrupt response.
My questions
1] Whether my UART initialization is right for receiving Interrupt?.
2] Is it their any problem because of having receiver glitch suppression time(70 to 200 ns)?, I try to change the glitch time as per datasheet but it is not changed, so how to change it?.
3] Whether my baudrate generation setting is correct or not for 9600,24MHZ clock?.