Pumpkin, Inc.

Pumpkin User Forums

UART Help

For issues specific to TI's MSP430 line of ultra-low-power microcontrollers, including compilers (e.g. Quadravox AQ430), IDEs (e.g. IAR Embedded Workbench) and development tools (e.g. TI MSP-FET430 Flash Emulation Tool).

UART Help

Postby BlackKnight » Thu Apr 09, 2009 4:58 am

I am trying to connect a camera to UART1 and take pictures with it. I have working python code that uses ser.write() and ser.read() in order to send and recieve commands to the camera. I am now trying to translate this code to salvo, using the CSK_UART library, but I am a little confused as to how this thing actually reads and writes. I've been messing around with CSK_PutcharTx1, CSK_RcvcharRx1, CSK_GetRx1Buff, and CSK_SendcharTx1, but I can't seem to get it right. If anybody has some examples of reading and writing to and from the UART or can offer any other help I'd appreciate it. Thanks.
BlackKnight
 
Posts: 4
Joined: Wed Jan 21, 2009 12:00 am

Re: UART Help

Postby aek » Thu Apr 09, 2009 5:51 am

CubeSat Kit customers can see a full example in the test1 CubeSat kit example application.

There is a newer and nicer set of similar functions here:
http://www.pumpkininc.com/library/msp430/

These are freeware and available to all. However, these are just code, with no examples.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm


Return to TI's MSP430

Who is online

Users browsing this forum: No registered users and 2 guests

cron