Help required regarding UART | Cypress Semiconductor
Help required regarding UART
I am trying an extremely simple code to test serial communication using the UART user module of the CY8C29466-24PVXI. The objective of the code is to print some characters on to HyperTerminal of Win XP. I use PSoC Designer 5.0 SP4.5.
My required baud rate is 9600.
Kindly excuse me if you find this trivial, I'm only a beginner.
#include <m8c.h> // part specific constants and macros
#include "PSoCAPI.h" // PSoC API definitions for all User Modules
char ch = 0;
uart_Start(uart_PARITY_NONE); //Start UART
if(ch > 0x7f)
The Clock to the UART is given by VC3 and the dividers are given so that VC3 is approx = 76800 [24Mhz/(3*8*13)]