Hi all, I have been using the i2c blocks perfectly fine until I needed to implement something that wound set a range of bytes to 0. I am using a dsPIC33EV256GM106. I have no idea why it is not working, I seem to have tried every variation I can think of. I have attached one that is working which con..
Attached is a code from one user of the MPLAB Device blocks for Simulink with Simulink who kindly permits to publish it. It uses multiple "C function Call" block to use theses functions from the simulink model. It targets a dsPIC 33EP256MC506. It is provided "as-is" for reference, to be adapted for ..
Hi all, I have a PWM signal attached toa pin of my dsPIC33EV256GM106 and I want to read the value of this (Pulse width). I have looked through the library and can only seem to find ways of sending a PWM signal. Am I missing something obvious? Thank you!..
Hello,How do I get sensor reading from a GPIO within MATLAB GUI or command? And how should I save my target data reading? Thanks in advance...
Hello,This is my first attempt to use MATLAB to collect data from an external source, for example, internet TCP port. Then, output the data (probably digital sensor data) stream to a MATLAB graphical plot. Would you mind to join discussion? ^^..
I am trying to implement the PIL feature of MPLAB Simulink Blockset using a dsPIC33CH Dev Board (chip: dsPIC33CH512MP508). To be more precise I have already implemented the power stage of a buck converter in Simulink (plant block) and I would like to check the controller's behavio..
Hi, I am trying to use the i2c block in my model however when I try to build I get the following error: MCHP_I2C1_Interrupt_data.oMCHP_I2C1_Interrupt.c: In function '_MI2C1Interrupt':MCHP_I2C1_Interrupt.c:66:45: error: 'I2C1STATLbits' undeclared (first use in this function) MCHP_I2C1_Interrupt.c:66:..