- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
I would like to make a header file that invokes a UART and sets up Printf(). I have the printf working (I think), but I could not find how to invoke and set up a UART in C Code. maybe I'm googling the wrong things. if you guys can point me in the right direction, that would be great
Thanks
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Tags:
- uart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PSoC 5LP UART implementation is UDB based, so you need to let PSoC Creator to do the configuration of the UDBs for you.
What you can do is to disable the UART API generation, so you can use your own UART firmware stack.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suppose I could just copy paste everything from the auto-generated UART1 folder in the auto-generated area. would that work? is that the best way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Copying the auto generated code is certainly the easiest way to start working without a schematic.
What is the reason you want to get away from implementing hardware with the schematic?
I've played with this a bit but have not been able to justify the work involved in completely eliminating the schematic. I have found it is convenient to be able to tweak the hardware design in code while debugging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PSoC 5LP UART implementation is UDB based, so you need to let PSoC Creator to do the configuration of the UDBs for you.
What you can do is to disable the UART API generation, so you can use your own UART firmware stack.