Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1687 connectés 

  FORUM HardWare.fr
  Programmation
  C

  USB/ RS232 connexion

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

USB/ RS232 connexion

n°2159759
waafaaa
Posté le 10-10-2012 à 13:34:03  profilanswer
 

je suis débutante dans l'utilisation de Keil µvision 4.0, j'ai la carte "LPC1788 Developer’s Kit" et je veux écrire un programme pour mon microcontroleur qui permet de reçevoir un message par le port USB et l'envoyer par le port RS232. Est ce que quelqu'un peut m'aider s'il vous plait !

mood
Publicité
Posté le 10-10-2012 à 13:34:03  profilanswer
 

n°2159770
Modération
Posté le 10-10-2012 à 14:29:22  answer
 

Ben faites déjà voir ce que vous avez écrit comme code qui ne marche pas.

n°2159774
gilou
Modérateur
Modzilla
Posté le 10-10-2012 à 14:44:59  profilanswer
 

Au vu de la page du dev kit:

Citation :

Project files exist for Code Red's LPCXpresso/Red Suite and for Keil's MDK-ARM.
 
FreeRTOS - An example showing how to use the real-time operating system FreeRTOS
Analog - An example reading values from the potentiometer on the OEM Base Board
EEPROM - An example illustrating how to read from and write to the EEPROM on the OEM Board as well as the EEPROM on the OEM Base Board
Memreg - Illustrating how to turn on/off memory mapped LEDs on the OEM Base Board.
NAND - An example showing how to access (read, write, erase) the NAND flash on the OEM Board.
Accelerometer - An example showing how to use the digial accelerometer on the OEM Base Board.
Audio (I2S) This example is using the UDA1380 audio code and I2S to play an audio file.
EasyWeb - A simple webserver.
FatFs - An example using the FatFs module to access a memory card.
Joystick - An example showing how to read the state of the joystick on the OEM Base Board
PCA9532 - An example showing how to use the buttons and LEDs on the OEM Base Board which are connected to the PCA9532.
Speaker - WAV - This project illustrates the use of the speaker mounted on the OEM Base Board. The DAC output on the LPC1788 is used.
Temperature - An example that illustrates the use of the temperature sensor (LM75A) mounted on the OEM Base Board.
UART - RS232 - This project illustrates the use of UART output on the RS232 port on the OEM Base Board.
USBHID - This project illustrates the use of the USB device interface. A USB HID (Human Interface Device Class) is implemented in this example.
USB Host Lite - NXP's USB Host Mass Storage example.
SDRAM - An example showing how to use the SDRAM on the OEM Board.
Demo Application - The demo application that is (typically) pre-loaded on the board.

Il va falloir vous baser sur cet exemple que vous devez avoir je pense, plus une configuration ad-hoc du UART-to-USB Bridge du board.
A+,


---------------
There's more than what can be linked! --    Iyashikei Anime Forever!    --  AngularJS c'est un framework d'engulé!  --
n°2159784
waafaaa
Posté le 10-10-2012 à 15:42:28  profilanswer
 

Merci, je vais voir cet exemple.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  C

  USB/ RS232 connexion

 

Sujets relatifs
probleme configuration d'une connexion hibernate dans ireportConnexion automatique au WiFi hotel
Superviser rapidement des connexion et inser dans une page htmlLancement d'un shell comme s'il s'agissait d'une connexion
[VB.net] Si tel périphérique USB est branché, alors...Script de connexion DOS
connexion persistante = connexion partagée ?Access connexion Help
Plus de sujets relatifs à : USB/ RS232 connexion


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR