Search found 5 matches

by HeleneCT
Fri Mar 22, 2013 11:45 am
Forum: General Remark and Questions
Topic: UART_Tx bloc code comprehension problem
Replies: 2
Views: 2098

Re: UART_Tx bloc code comprehension problem

It's me again

Sorry, I found the answer to my question. My dsPIC_UART1_Interrupt.c file was missing on MPLAB and TxPtrBas is modified in it.

Problem solved.

Helene
by HeleneCT
Fri Mar 22, 2013 11:41 am
Forum: General Remark and Questions
Topic: UART_Tx bloc code comprehension problem
Replies: 2
Views: 2098

UART_Tx bloc code comprehension problem

Hello everybody, I am currently trying to understand the code generated by my model but I have some difficulties with the UART_Tx bloc. Here is the code : /* S-Function "UART_Tx" Block: <Root>/Tx Output */ { uint8_T Tmp; do { Tmp = ~(TxPtrHaut_Uart1 - TxPtrBas_Uart1);/* Tmp = 7 - (Haut - B...
by HeleneCT
Thu Mar 21, 2013 2:23 pm
Forum: General Remark and Questions
Topic: I2C master block
Replies: 0
Views: 1763

I2C master block

Hello everybody, I am having trouble using this bloc. I might haven't seach well but I did not found any example using the read and write on the I2C. Is there such a thing somewhere? Could someone explain the bus frequency thing. I have a dspic33 and the datasheet says it allows 100k and 400kHz bus ...
by HeleneCT
Thu Mar 14, 2013 9:43 am
Forum: General Remark and Questions
Topic: Difference between Ports Info block and PIN Mapping blocK
Replies: 0
Views: 1846

Difference between Ports Info block and PIN Mapping blocK

Hi everybody,

Sorry if my question is stupid but what is exactly the difference between Ports Info block and PIN Mapping block?

Thanks,
Helene
by HeleneCT
Wed Mar 13, 2013 11:04 am
Forum: Advanced Simulink & RTW Questions
Topic: use delay_ms and delay_us with Simulink
Replies: 0
Views: 1204

use delay_ms and delay_us with Simulink

Hello everyone, I would like to know if it is possible to use functions from the libpic30.h library with block programming with Simulink. Do you have any idea on how to perform such a thing? I already tried the Simulink block Unit Delay, Memory, Integer Delay aud others but it's not really performin...

Go to advanced search