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
Search found 5 matches
- Fri Mar 22, 2013 11:45 am
- Forum: General Remark and Questions
- Topic: UART_Tx bloc code comprehension problem
- Replies: 2
- Views: 25291
- Fri Mar 22, 2013 11:41 am
- Forum: General Remark and Questions
- Topic: UART_Tx bloc code comprehension problem
- Replies: 2
- Views: 25291
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 - Bas) modulo...
- Thu Mar 21, 2013 2:23 pm
- Forum: General Remark and Questions
- Topic: I2C master block
- Replies: 0
- Views: 29488
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 ...
- 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: 28969
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
Sorry if my question is stupid but what is exactly the difference between Ports Info block and PIN Mapping block?
Thanks,
Helene
- Wed Mar 13, 2013 11:04 am
- Forum: Advanced Simulink & RTW Questions
- Topic: use delay_ms and delay_us with Simulink
- Replies: 0
- Views: 26540
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...